BIS fnc isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *tkoh * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= tkoh |version1= $1 ")
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
|descr= Checks if string is localized. Obsolete variant before [[isLocalized]] command was introduced.
|descr= Checks if string is localized. Obsolete variant before [[isLocalized]] command was introduced.


|s1=[localizationString] call [[BIS_fnc_isLocalized]]
|s1= [localizationString] call [[BIS_fnc_isLocalized]]


|p1= localizationString: [[String]]
|p1= localizationString: [[String]]
Line 17: Line 17:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>["STR_someLocalizedString"] [[call]] [[BIS_fnc_isLocalized]];</code> |= Example
|x1= <sqf>["STR_someLocalizedString"] call BIS_fnc_isLocalized;</sqf>


|seealso= [[isLocalized]] [[localize]]
|seealso= [[isLocalized]] [[localize]]
}}
}}
[[Category:{{Name|tkoh}}: Functions|{{uc:isLocalized}}]]

Latest revision as of 17:33, 15 August 2022

Hover & click on the images for description

Description

Description:
Checks if string is localized. Obsolete variant before isLocalized command was introduced.
Execution:
call
Groups:
Strings

Syntax

Syntax:
[localizationString] call BIS_fnc_isLocalized
Parameters:
localizationString: String
Return Value:
Boolean

Examples

Example 1:
["STR_someLocalizedString"] call BIS_fnc_isLocalized;

Additional Information

See also:
isLocalized 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