isLocalized: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Strings | |gr1= Strings | ||
| Checks whether given string name is [[localize]]d. | | Checks whether given string name is [[localize]]d. | ||
| '''isLocalized''' stringName | | '''isLocalized''' stringName | ||
|p1= stringName: [[String]] | |p1= stringName: [[String]] | ||
| [[Boolean]] | | [[Boolean]] | ||
Line 21: | Line 21: | ||
[[hint]] "STR_DN_SNAKE"; | [[hint]] "STR_DN_SNAKE"; | ||
[[diag_log]] "ToDo: STR_DN_SNAKE is not localized"; | [[diag_log]] "ToDo: STR_DN_SNAKE is not localized"; | ||
};</code> | };</code> | ||
| [[localize]], [[WFSideText]], [[Stringtable.csv]], [[Stringtable.xml]], [[BIS_fnc_localize]] | | [[localize]], [[WFSideText]], [[Stringtable.csv]], [[Stringtable.xml]], [[BIS_fnc_localize]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:43, 18 January 2021
Description
Syntax
Examples
- Example 1:
if (isLocalized "STR_DN_SNAKE") then { hint localize "STR_DN_SNAKE"; } else { hint "STR_DN_SNAKE"; diag_log "ToDo: STR_DN_SNAKE is not localized"; };
Additional Information
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