Difference between revisions of "language"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''language''' |= Syntax
+
| [[language]] |= Syntax
  
| [[String]] |= RETURNVALUE
+
| [[String]] - See [[Stringtable.xml#Languages|Stringtable.xml languages]] for possible values |= Return value
 
 
 
 
|x1= <code>
 
</code>|= EXAMPLE1
 
  
 +
|x1= <code>_myLanguage = [[language]]; {{codecomment|// will return "English" if game language is set to English}}</code>|= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= SEEALSO
+
| [[Stringtable.xml]] |= See also
 
 
|  |= MPBEHAVIOUR
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Revision as of 02:17, 7 May 2018

Introduced with Arma 3 version 0.500.50
Hover & click on the images for descriptions

Description

Description:
Returns current game language.

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

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section