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. 😉

LanguageApp-AddingLang.gif

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.

swd.PNG

 

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. 🤓


In other words, here you can connect www.yourdomain.com domain name to your default language (in my case- English) of your site,
 while the www.yourdomain.es will be linked to the Spanish one. 🙃 

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!


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.