language: 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= System | |gr1= System | ||
| Returns current game language. | | Returns current game language. | ||
| [[language]] | | [[language]] | ||
| [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values | | [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values | ||
|x1= <code>_myLanguage = [[language]]; {{codecomment|// will return "English" if game language is set to English}}</code> | |x1= <code>_myLanguage = [[language]]; {{codecomment|// will return "English" if game language is set to English}}</code> | ||
| [[Stringtable.xml]] | | [[Stringtable.xml]] | ||
}} | }} | ||
Revision as of 01:05, 18 January 2021
Description
- Description:
- Returns current game language.
- Groups:
- System
Syntax
- Syntax:
- language
- Return Value:
- String - See supported languages for possible values
Examples
- Example 1:
_myLanguage = language; // will return "English" if game language is set to English
Additional Information
- See also:
- 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