language: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[language]] |= Syntax | ||
| [[String]] | | | [[String]] - See [[Stringtable.xml#Languages|Stringtable.xml languages]] for possible values |= Return value | ||
|x1= <code>_myLanguage = [[language]]; {{codecomment|// will return "English" if game language is set to English}}</code>|= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Stringtable.xml]] |= See also | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 01:17, 7 May 2018
Description
- Description:
- Returns current game language.
- Groups:
- Uncategorised
Syntax
- Syntax:
- language
- Return Value:
- String - See Stringtable.xml 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