language: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\{\{ *codecomment *\|([^}]*) *\}\}([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 12: | Line 12: | ||
|r1= [[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; | |x1= <code>_myLanguage = language; // will return "English" if game language is set to English</code> | ||
|seealso= [[Stringtable.xml]] [[getTextRaw]] [[localize]] [[isLocalized]] [[diag_localized]] [[BIS_fnc_localize]] | |seealso= [[Stringtable.xml]] [[getTextRaw]] [[localize]] [[isLocalized]] [[diag_localized]] [[BIS_fnc_localize]] | ||
}} | }} |
Revision as of 13:34, 12 May 2022
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