language: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
Line 12: Line 12:
| [[language]] |= Syntax
| [[language]] |= Syntax


| [[String]] - See [[Stringtable.xml#Languages|Stringtable.xml languages]] for possible values |= Return value
| [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values |= Return value


|x1= <code>_myLanguage = [[language]]; {{codecomment|// will return "English" if game language is set to English}}</code>|= Example 1
|x1= <code>_myLanguage = [[language]]; {{codecomment|// will return "English" if game language is set to English}}</code>|= Example 1

Revision as of 02:53, 7 May 2018

Hover & click on the images for description

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

Notes

Bottom Section