Difference between revisions of "language"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| arma3 |Game name=
  
|0.50|= Game version
+
|0.50|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns current game language.  |= Description
+
| Returns current game language.  |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[language]] |= Syntax
+
| [[language]] |SYNTAX=
  
| [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values |= Return value
+
| [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values |RETURNVALUE=
  
|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>|EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Stringtable.xml]] |= See also
+
| [[Stringtable.xml]] |SEEALSO=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Latest revision as of 01:20, 1 September 2019

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 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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section