Créez un projet et sélectionnez les langues dans lesquelles vous souhaitez traduire votre site web.
Cliquez : "Enregistrer et intégrer"
Vous devriez maintenant voir une fenêtre contextuelle qui vous montrera deux extraits de code HTML. Suivez les étapes ci-dessous pour intégrer le code dans votre site web.
Comment ajouter le script HTML à votre site web :
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.