LocalizedString class
Revision as of 08:18, 9 July 2018 by Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>LocalizedString</nowiki> |Description=<nowiki>Represents translation of a string.</nowiki> |Constructors= {{CGscriptConstructors_Templat...")
LocalizedString
Represents translation of a string.
Constructors
- () - Create a new translatable text
Methods
- string GetSpecificTranslation(string isocode "Isocode for language. Use empty for default text") - Get the translation for given isocode or null
- string GetTranslation(string isocode "Isocode for language. Use empty for default text") - Get the best matching translation for given isocode
- string GetTranslationForLoggedInUser() - Get the best matching translation for the current user
- bool RemoveTranslation(string isocode "Isocode for language. Use empty for default text") - Remove a specific translation
- Empty SetTranslation(string isocode "Isocode for language. Use empty for default text", string s "New translation") - Set a specific translation
- string ToString() - The string representation of the object.
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.