TranslationUtil |
This API is used to invoke the util function for retrieving the runtime language. The language is retrieved depending on how it is set; the order of preference is as follows:
- language set using the URL
- language set as a CUSP preference
- language set as a browser preference
The method defined on the TranslationUtil component is as follows:
Table 1. List of Static Methods
Method |
Description |
---|---|
getRuntimeLanguage() |
This method returns the code of the language used at the runtime. |
getLanguageDirection() |
This method is used in the front end for retrieving the runtime language direction. It returns
|