language: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix Stringtable.xml#Supported_languages link) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns current game language. |= | | Returns current game language. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[language]] |= | | [[language]] |SYNTAX= | ||
| [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values |= | | [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values |RETURNVALUE= | ||
|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>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Stringtable.xml]] |= | | [[Stringtable.xml]] |SEEALSO= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Returns current game language.
- Groups:
- Uncategorised
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