diag localized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
| 2.03
| 2.03


| Returns array with [[localize]]d keys from the given stringtable or the array of all stringtables names if empty string <tt>""</tt> is given. Common stringtables are: <tt>"Global"</tt>, <tt>"Mission"</tt>, <tt>"Campaign"</tt>.
| Returns array with all [[localize]]d keys from the given [[Stringtable.xml | stringtable]] or the array of all stringtables names if empty string <tt>""</tt> is given. Common stringtables are: <tt>"Global"</tt>, <tt>"Mission"</tt>, <tt>"Campaign"</tt>.


| [[diag_localized]] stringtable
| [[diag_localized]] stringtable

Revision as of 13:01, 10 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Strings

Syntax

Syntax:
Syntax needed
Parameters:
config: String - stringtable name or ""
Return Value:
Return value needed

Examples

Example 1:
private _randomKey = selectRandom diag_localized "Global"; hint format ["Key: %1\nValue: %2", _randomKey, localize _randomKey];
Example 2:
private _allTables = diag_localized "";
Example 3:
diag_localized "Global" select 0; // "$STR_A3_SHOWCASE_SLINGLOADING_15_AMMODROPPED_PIL_0"

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