Getting Started
Get Started with Weglot library
Last updated
Get Started with Weglot library
Last updated
Let's include Weglot's client code into your site and get started with translations.
Go to your Weglot dashboard () , start a new project. Depending on the technology you chose, you will integrate Weglot using the Javascript library.
Edit your HTML file, and right before the</head>
tag, append the code that is shown to you. It should look like:
Make sure you replace YOUR_API_KEY
with the API key you got in the step one.
Your API key is then used to retrieve the settings of your project from your Weglot dashboard, like the original language, the languages you want to translated into, the things you don't want to translated etc...
Add more settings in this object, .
Interact with the Weglot
instance, .
Design your own switcher, move it in your page: .
You can also .