I'm a little confused by the gettext (StringID : string) call. If a language has no entry for a value, isn't it supposed to return the default (0) language entry?
Cheers
Terry
Gettext function
GetTextOrDefault() will always return default (first) language value if no translation available.
GetText() will return default value only if you have in TsiLang's TranslateType = ttGetDefault. By default this property has value ttNoChange in order to prevent changing the UI elements when no translations available.
So just use GetTextOrDefault() isntead of GetText().
GetText() will return default value only if you have in TsiLang's TranslateType = ttGetDefault. By default this property has value ttNoChange in order to prevent changing the UI elements when no translations available.
So just use GetTextOrDefault() isntead of GetText().