BIS fnc isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Description and example added)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Checks if string is localized. Obsolete variant before [[isLocalized]] command was introduced. |= Description
 
Description:
Checks if given key name exists in ingame localisation database.
 
Parameter(s):
_this: STRING
 
Returns:
BOOL
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_isLocalized]]; --> |= Syntax
| [localizationString] call [[BIS_fnc_isLocalized]]; |= Syntax


|p1= |= Parameter 1
|p1 = localizationString: [[String]] |= Parameter 1


| |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
| [[isLocalized]] [[localize]] |= See also


}}
}}

Revision as of 17:42, 7 March 2015


Hover & click on the images for description

Description

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

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

Notes

Bottom Section