How can I create a custom language?
This article will teach you how to create a custom language for your website, such as UK English or Canadian French.
Currently, it is possible to create a custom language only if you're subscribed to an Advanced plan or higher (see the pricing documentation).
If this is the case, you can create a custom language by following the steps below:
1. Add a new language
First, you can go into your Weglot Dashboard > Select your project > Translations > and then click on "Add language":
2. Create a custom language
A pop-up asking for more information about the language will appear. Then, click on "Not in the list? Create a local variation of a language (like British English or Mexican), or a complete custom language":
3. Set up your custom language
Here, you'll have to enter all the information regarding your custom language:
- Name : Enter the name that will appear on your language switcher (for example, Canadian French)
- Language Code : Enter the language code that will appear in your URLs and hreflang tags (for example, fr_ca)
- Automatic Translation Source Language (Optional) : Choose the language that will be used to generate automatic translations. If you don't select any language, the translations will be displayed in your original language (you'll be able to edit them manually)
- Flag : Select a flag that will appear in the language switcher for this language. You can either choose an existing flag from the list or import your own flag image by clicking on "Or upload your flag".
Once it's done, click on "Add a custom language":
Feel free to browse the templates to see if one of them suits your needs.
After that, you're done! You should now see your new language appear on your Translations list (Weglot Dashboard > Select your project > Translations).