isLocalized: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
Line 12: | Line 12: | ||
|s1= [[isLocalized]] stringName | |s1= [[isLocalized]] stringName | ||
|p1= stringName: [[String]] - | |p1= stringName: [[String]] - string which leads to localisation. Casing does not matter. Since Arma 3 v2.04 a string starting with {{hl|"$"}} is supported as well | ||
|r1= [[Boolean]] | |r1= [[Boolean]] |
Latest revision as of 15:49, 8 November 2023
Description
- Description:
- Checks whether given stringName is localized.
- Groups:
- StringsLocalization
Syntax
- 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
- Return Value:
- Boolean
Examples
- Example 1:
- Example 2:
- isLocalized "$STR_USRACT_ADJUST"; // Since Arma v2.04
Additional Information
- See also:
- localize diag_localized getTextRaw WFSideText Stringtable.csv Stringtable.xml BIS_fnc_localize
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