Any application is written in a particular language. The language with which the application was designed is called  the default language. This is the language in which the application runs unless any resources files have been added to it. It is exactly when multilingual resource files are added to the oml (Stands for: OutSystems Markup Language) file that the multilingual support is enabled for your application and the Multilingual Locales is updated with the languages of the added resources.

At compilation time, these resource files are placed in the application running directory in the OutSystems Hub Server you are connected to. The application runs either in the language explicitly specified within the application for that user session; or, in case no language is explicitly set within the application logic, in the default language of the OutSystems Hub Server where the end-user is connected.

For multilingual  in your application, OutSystems Platform provides you with the following mechanisms:

Translatable elements

Multilingual support only works for Web applications.

You can localize the following elements of your eSpace: the Text content directly typed in the screens, the Screens Title, the Labels of the buttons, the Text in links, the Special List Options of the Combo Box widget, Messages displayed to the end user that are embedded in the application (validation messages, widgets' confirmation, and empty messages), the Text literals found in all types of expressions used in web flows (including Unescaped Expressions and JavaScript), and Images. You can also localize Text literals that are not visible in the application runtime: Comments on flows and properties such as Example, Description, and action flow element Labels.

You can also change the default language of an application for design purposes, actually changing the language in which the eSpace is written.

If you want to support the multilingual feature in your application, it is strongly recommended that you read the technical note about Multilingual Support, available at the OutSystems Community.

See Also

eSpace Properties | GetCurrentLocale function | SetCurrentLocale action | Merge eSpaces