BiL10nLoader

This class handles the loading and interpretation of localization templates files. This loader search for language specific template file i.e.. <ADF name>_en.xml

This class extends BiXmlLoader and therefore all methods and fields available for BiXmlLoader are also available for BiL10nLoader .

Constructor

new BiL10nLoader ( [ sLanguage [ ,sDefaultLanguage [ ,oUri [ ,sPrefix ] ] ] ] )

Parameters

Name Type Optional Default Descripton
sLanguage string checked The language
sDefaultLanguage string checked The default language
oUri BiUri checked The uri
sPrefix string checked The prefix in the localization template files i.e. <prefix>_en.xml

Properties

Name Type get set Descripton
defaultLanguage String checked checked The desired default language. The default langugae will be used if no localization template file can be found using the language property.
language String checked checked The desired language, otherwise the browser language is used.
loaded Boolean checked Whether the file has been loaded
prefix String checked checked Prefix of the localization template files, the loader will search for files named <prefix>_<language>.xml.

Methods

None.

Events

None.

Static Methods

None.

Static Fields

None.

Remarks