language: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 0.50 | |||
| | |gr1= System | ||
| Returns current game language. | |descr= Returns current game language. | ||
| [[language]] | |s1= [[language]] | ||
| [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values | |r1= [[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]] | |seealso= [[Stringtable.xml]] [[getTextRaw]] [[localize]] [[isLocalized]] [[diag_localized]] [[BIS_fnc_localize]] | ||
}} | }} | ||
Revision as of 16:53, 3 May 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
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