ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

Script object MessageLoc

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

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information