Localized Text
The LocalizedText
data type is used to store text that needs to be displayed in multiple languages. Unlike the Text data type, the LocalizedText data type allows the storage of the same text in multiple languages. It supports the whole range of UTF symbols, just like the Text data type. The LocalizedText
data type is essential for games that require localization support, and it makes it easy for game developers to manage text that needs to be displayed in multiple languages.
- Source Code Type
Language
Type
C#
LocalizedText or System.String
TypeScript
LocalizedText or string
C++ (Unreal Engine)
FLocalizedText or FText
Haxe
LocalizedText or String
- Uniqueness
Localized Text cannot be marked as unique.
- Size
May be limited in number of characters. 0 - no limit.
Example
{"en-US": "Hello", "fr-FR": "Bonjour"}