BIS fnc isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Some wiki formatting)
 
(34 intermediate revisions by 5 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
____________________________________________________________________________________________


| <pre>/*
|descr= Checks if string is localized. Obsolete variant before [[isLocalized]] command was introduced.


Description:
|s1= [localizationString] call [[BIS_fnc_isLocalized]]
Checks if given key name exists in ingame localisation database.


Parameter(s):
|p1= localizationString: [[String]]
_this: STRING


Returns:
|r1= [[Boolean]]
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>["STR_someLocalizedString"] call BIS_fnc_isLocalized;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_isLocalized]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|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