language: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "Supported_languages" to "Supported_Languages")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|gr1= System
|gr1= System


| Returns current game language.
|descr= Returns current game language.


| [[language]]
|s1= [[language]]


| [[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]]; {{codecomment|// will return "English" if game language is set to English}}</code>
|x1= <sqf>_myLanguage = language; // will return "English" if game language is set to English</sqf>


| [[Stringtable.xml]]
|seealso= [[Stringtable.xml]] [[getTextRaw]] [[localize]] [[isLocalized]] [[diag_localized]] [[BIS_fnc_localize]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:28, 10 July 2024

Hover & click on the images for description

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

See also:
Stringtable.xml getTextRaw localize isLocalized diag_localized BIS_fnc_localize

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