Language settings

Adding extra language

Preset languages activated for RezOn Universal project can be checked via Language settings subsection.

To add extra language RezOn Universal just follow a fairly straight process:

  • click Add language button

  • select the required language in the drop-down menu

  • confirm your selection by clicking Add button

If for the selected language localisation has not been yet added, you can add it yourself via Localisation editor.

Localisation editor

To add new translation one simply click on 'Add you alias' button and fill in the form displayed in a pop-up window:

  • Alias- a key word by which you can search for a word or a group of words (or a whole html block) in a specific language.

  • Translation- your own translation option into selected language.

How to check your changes?

RezOn Universal uses cache for these localisations. To view the changes, you need to reset the site cache by using the option Clear the site cache, available in the upper right corner of BO account:

How to use aliases in code?

HTML user case

To embed an alias translation in your html use the following syntax:

@localization.locale("SOME_ALIAS") , where SOME_ALIAS - is your alias.

JS user case

To embed your alias translation in JS, use the following syntax:

main.locale("SOME_ALIAS")

Last updated

Was this helpful?