Создайте проект и выберите языки, на которые хотите перевести ваш сайт.
Нажмите: "Сохранить и интегрировать"
Теперь вы должны увидеть всплывающее окно, которое покажет вам два фрагмента HTML-кода. Следуйте инструкциям ниже, чтобы интегрировать код на ваш сайт.
Как добавить HTML-скрипт на ваш сайт:
Follow the video below to add a custom head code,
To add the language selector, follow these steps:
Open your Framer project: Go to your Framer project where you want to add the HTML code snippet.
Add an Embed Component:
Click on the "+" icon to add a new component.
Search for the "Embed" component and drag it onto your canvas.
Insert HTML Code:
Select the Embed component you just added.
In the properties panel on the right side, you will see an option to insert custom code.
Click on the "Code" icon or "Edit Code" button.
A code editor will open. Paste your HTML code snippet into this editor.
Save and close the editor.
Adjust Size and Position:
You can resize and position the Embed component on your canvas as needed.
Use the properties panel to adjust width, height, margins, and other layout properties.
Preview and Publish:
Preview your Framer project to ensure the HTML snippet is displaying correctly.
If everything looks good, publish your website to make the changes live.