How to Set Up Internationalization (i18n)
Setting up internationalization allows users to add multiple languages to their instance.
Internationalization (i18n) refers to adapting your instance's into another language. This gives sites with an international audience the ability to create content in different languages with the click of a button. Note: By default all Zesty.io instances are in English. Contact [email protected] if want to make an instance with a different default language. When languages are added the muti-lang URLs will contain both the language and locale as applicable. For example, es (Spanish) has variants by locale such as CO (Columbia), ES (Spain), MX (Mexico), UY (Uruguay) and so on; the URL will be in the form of domain/language-locale/my-content e.g.,
Example URL structure in internationalization.
Once a language is added the template is duplicated. Although languages share a template they have separate ZUIDs - in other words - duplicates do not share their ZUID with the original language. For example, the template for English will have the same template as Spanish, however, each one will have their own ZUID.
Content is duplicated when languages are added.
And the item's path will be prepended with the language and locale except for the original language.
Languages (except original) are prepended with language and locale.
Once internationalization is setup, a language selector dropdown will appear in each content item that allows you to select the language.
Select the content's language through this dropdown.
Select the language/locale option from the dropdown. Once selected, you will be able to edit content for that item in the chosen language/locale. Each language/locale will have its own versions and ZUID.
Content editing views are duplicated on a per-language basis.