BIS fnc isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Strings
____________________________________________________________________________________________


| Checks if string is localized. Obsolete variant before [[isLocalized]] command was introduced. |DESCRIPTION=
|descr= Checks if string is localized. Obsolete variant before [[isLocalized]] command was introduced.
____________________________________________________________________________________________


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


|p1 = localizationString: [[String]] |PARAMETER1=
|p1= localizationString: [[String]]


| [[Boolean]] |RETURNVALUE=
|r1= [[Boolean]]
____________________________________________________________________________________________


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


|seealso= [[isLocalized]] [[localize]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:isLocalized}}]]
[[Category:Functions|{{uc:isLocalized}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:isLocalized}}]]
[[Category:{{Name|arma3}}: 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