Home › Page › UnlocalizedString


Ugh Scripting Reference > UnlocalizedString

UnlocalizedString is an intermediate class that interfaces with Localize to provide localization support.  This class represents a string which will not be swapped with other languages at runtime.  This is most often used for numbers, UI elements, or specific proper names.

name type description
baseText string The represented text.
Text string Returns baseText.
name type description
UnlocalizedStringMarker string A static function that can be used to mark a string-literal in script as unlocalized.


Using UnlocalizedString in Script

static public string UnlocalizedStringMarker(string text)

This function may be used to mark string-literals as unlocalized.  This is not necessary, but can be useful when using various editor tools in Localize to track down text.