BIS fnc isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Some wiki formatting)
 
(One intermediate revision 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= <sqf>["STR_someLocalizedString"] call BIS_fnc_isLocalized;</sqf> |= Example
|x1= <sqf>["STR_someLocalizedString"] call BIS_fnc_isLocalized;</sqf>


|seealso= [[isLocalized]] [[localize]]
|seealso= [[isLocalized]] [[localize]]
}}
}}

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