Articles in this category

How to localize your website (create a multilingual website)?

You've launched your website, connected your custom domain and it targets one country or one language. Good job so far! But what if you decide to go international and create a multilingual website? That's where our Languages App comes in handy.


How do add multiple languages?


Once you've added multiple languages to your website, localizing your content in multiple languages will be an important part of it. After adding the second language to your website, you will notice the short code at the end of your domain name in the address bar. 

For example, if the default language of your website is English and you decide to go with Spanish, the URL of your website's Spanish version will have /es (Spain) short code. Accordingly, so called sub directories with a generic top-level domain of your domain will be www.yourdomain.com/es.

But wait, that's not the end. As Subbly provides the best practice to its technical and non-technical folks, in the Domain app you will find another handy option to assign it to a language.

So this Assign Language to Domain functionality allows to link a specific domain to a certain language of your website.

You can also change the URL short code, which is what you see when switching from one language to another under the same domain extension.

Here, take a look at our example:

Let's say we have English and Russian languages (while their domains look like this: example.com, example.com/ru). The "ru" code can be changed to "rus", "russia", or any other name, depending on your preferences.

For more information on how to localize the checkouts or customer portal, please see HERE.

Some points worth mentioning

  • If the domain is not assigned to any language, it will load any language set from the Language switcher, except for the one, which has already been assigned.
  • Let's say, we have 3 languages: English (Default), Spanish, Russian, and 2 domains: example.com and example.es (where .com is assigned to English while .es is not assigned to any).
  • If your site visitor change your site language to Russian/Spanish he will be redirected to example.es/ru or example.es/es. And only if he switches the language to English, example.com will be placed.
  • Once the 'Domain 2 language' functionality is active, the Default domain star icon disappears. From there on, the default domain is the one, connected to the default language.
  • In case, the domain assigned to the default language is deleted, the language will redirect to a 404 Error Page.
  • In case domain (not default domain) is removed, it is only accessible through the initial Subbly sub domain.

Did you find this resource helpful?
Return to top
Ready to get started
with Subbly?
Try for free