language: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
Line 10: Line 10:
|s1= [[language]]
|s1= [[language]]


|r1= [[String]] - See [[Stringtable.xml#Supported_languages|supported languages]] for possible values
|r1= [[String]] - see [[Stringtable.xml#Supported_languages|supported languages]] for possible values


|x1= <sqf>_myLanguage = language; // will return "English" if game language is set to English</sqf>
|x1= <sqf>_myLanguage = language; // will return "English" if game language is set to English</sqf>

Revision as of 15:49, 8 November 2023

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