Localisation

Previous Next

In USoft Definer, you can define translations (into other languages) and other forms of localisation of your application. You do this by defining Application Strings and System Messages. See the "Localising your application" sections in USoft Definer Help for details.

In USoft Web Designer, the UI library provides the following functions for making these translations available to the end user of your web application pages.

Function

Description

.getLanguage()

Returns the current language.

.setLanguage()

Sets the currrent language. Also translates all the possible strings in the DOM for which it has a translation.

.transform()

Converts a string of handlebar pseudo-code to HTML that can be translated.