LanguageClientModule

Last modified by colinw on 2021/09/10 23:34

The LanguageClientModule provides the ability to retrieve a translation based on the user's currently selected language and localization. This is one of the first modules instantiated, and should be available for the entire lifetime of the client session for all other modules. 

Availability

The LanguageClientModule is an init-level module, so it is created and available when the browser session is first instantiated, before the login screen is displayed. It is shut down immediately before the client session is destroyed. 

Methods

public String get(final String key);

The get method is the only method provided by this module. It allows you to retrieve a language translation for the provided translation key. Due to the frequency with which this method is called, the ClientRootUI provides a shortcut to this method: ClientRootUI.__(final String key);

Factory Name

The factory name for dependencies of this module is:

com.xmlnamespace.panel.client.factory.client_module.language

Direct Descendents

The following other modules are known to be direct descendents of the LanguageClientModule:

  • LoginClientModule

 

   
iSymphony