Description
Checks whether given stringName is localized.
Syntax
isLocalized stringName
Parameters:
stringName: String - string which leads to localisation. Casing does not matter. Since Arma 3 v2.04 a string starting with"$"is supported as well
Returns: Boolean
Examples
Example 1
if (isLocalized "STR_USRACT_ADJUST") then
{
hint localize "STR_USRACT_ADJUST";
}
else
{
hint "STR_USRACT_ADJUST";
diag_log "ToDo: STR_USRACT_ADJUST is not localized";
};
Example 2
isLocalized "$STR_USRACT_ADJUST"; // Since Arma v2.04
See also
localize · diag_localized · getTextRaw · WFSideText · Stringtable.csv · Stringtable.xml · BIS_fnc_localize