isLocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
| 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 prefix <tt>"$"</tt> in the key name}}
{{Feature | Informative | Since Arma 3 v2.03.147217, [[isLocalized]] accepts prefix <tt>"$"</tt> in the key name}}
{{Wiki | TODO | Remove above with 2.04 release, update examples }}
| '''isLocalized''' stringName
| '''isLocalized''' stringName



Revision as of 12:08, 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