isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


| Checks whether given string name is [[localize]]d.
| Checks whether given string name is [[localize]]d.
{{Feature | Informative | Since Arma 3 v2.03.147217, [[isLocalized]] accepts <tt>"$IDS<number>"</tt> and <tt>"$STR<name>"</tt> localization template formats (see [[localize]])}}
{{Feature | Informative | Since Arma 3 v2.03.147217, [[isLocalized]] accepts prefix <tt>"$"</tt> in the key name}}
| '''isLocalized''' stringName
| '''isLocalized''' stringName



Revision as of 13:06, 10 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Strings

Syntax

Syntax:
Syntax needed
Parameters:
stringName: String
Return Value:
Return value needed

Examples

Example 1:
if (isLocalized "STR_DN_SNAKE") then { hint localize "STR_DN_SNAKE"; } else { hint "STR_DN_SNAKE"; diag_log "ToDo: STR_DN_SNAKE is not localized"; };

Additional Information

See also:
See also needed

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