Article: AN0002177Updated:
This object offers functions for work with localized messages.
Script functions
Name |
Description |
string GetGlobalText(string code) |
Function returns message according to the current user localization for the given code. The message is not defined in a model. |
string GetGlobalText(string code, string languageCode) |
Function returns message for the given localization and the given code. The message is not defined in a model. |
string GetText(int modelId, string code) |
Function returns message according to the current user localization for the given code. The message has to be defined in a model. |
string GetText(int modelId, string code, string languageCode) |
Function returns message for the given localization and the given code. The message has to be defined in a model. |
Parameter languageCode is a language code, e.g. en-US, de-DE.
Object call
OG.MessageLoc