How can I create a custom language?

In this article, you will learn 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:

  • The name that will appear on your language switcher (for example, Canadian French)
  • The language code that will appear in your URLs and your hreflang tags (for example, fr_ca)
  • 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)
  • The flag that will appear in the language switcher for this language. You can either choose an existing flag in 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).

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us