Unfortunately localize does not exactly do the same as BIS_fnc_localize.
BIS_fnc_localize also checks if it the input string isLocalized while localize will return an empty string if the input parameter is not localized.
Checks if passed string is localization key and if so, return the localized text. Else, returns the passed string itself.
localizationString call BIS_fnc_localize
Parameters:
localizationString: StringReturns: String - the localized text behind the key or the key itself (if not localized).
// assuming the stringtable contains a key "STR_someString" with the value "Hello world"
"STR_someString" call BIS_fnc_localize; // returns "Hello world"
// assuming the stringtable does not contain a key "STR_anotherString"
"STR_anotherString" call BIS_fnc_localize; // returns "STR_anotherString"
isLocalized · localize · Stringtable.xml
Unfortunately localize does not exactly do the same as BIS_fnc_localize.
BIS_fnc_localize also checks if it the input string isLocalized while localize will return an empty string if the input parameter is not localized.