Child pages
  • Internationalization - I18N

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Support of multiple languages, also known as the standard i18n ("'i" ' + 18 letters in "'nternationalizatio" ' + "'n"'), is a Servoy feature that enables you to develop solutions that:

  • Do not require additional forms or elements to display more than one default language.
  • Can display multiple languages based on locale references.

Usage

On servoy Servoy elements its it is possible to use a text reference, which is a key linked to a messages. Which is replaced at runtime with the localized text from the messages.

An example of a an element text reference is: i18n:hello_world

Which is looked up in the message file and produces the text in a locale like "'hello world" ' or "'hola mundo" ' in Spanish

Definition 

Inside Servoy Developer the message files are stored as property files in the workspace.

On the server these messages are loaded in a an i18n table, the i18n table which can be specified in the solution settings, it needs to have the following columns:

...