BIS_fnc_localize
Jump to navigation
Jump to search
Description
- Description:
- Checks if passed string is localization key and if so, return the localized text. Else, returns the passed string itself.
- Execution:
- call
- Groups:
- Strings
Syntax
- Syntax:
- localizationString call BIS_fnc_localize
- Parameters:
- localizationString: String
- Return Value:
- String - the localized text behind the key or the key itself (if not localized).
Examples
- Example 1:
Additional Information
- See also:
- isLocalized localize Stringtable.xml
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Dec 29, 2017 - 00:03 (UTC)
-
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.