{"name":"diag_localized","title":"diag localized","type":"command","url":"https://community.bistudio.com/wiki/diag_localized","revid":379289,"updated":"2026-10-30T23:46:42Z","groups":["Strings","Localization"],"status":"ok","games":{"arma3":"2.04"},"since":"arma3 2.04","arma3_since":"2.04","description":"Returns array with all localized keys from the given stringtable or the array of all stringtables names if empty string `\"\"` is given. Common stringtables are: `\"Global\"`, `\"Mission\"`, `\"Campaign\"`.","syntaxes":[{"syntax":"diag_localized stringtable","params":[{"name":"stringtable","type":"String","description":"stringtable name or \"\"","type_expr":"String"}],"returns":{"type":"Array of Strings","type_expr":"Array<String>","description":"see description"},"form":"unary","right":{"text":"stringtable"}}],"examples":[{"code":["private _randomKey = selectRandom diag_localized \"Global\";\nhint format [\"Key: %1\\nValue: %2\", _randomKey, localize _randomKey];"]},{"code":["private _allTables = diag_localized \"\";"]},{"code":["diag_localized \"Global\" select 0; // \"$STR_A3_SHOWCASE_SLINGLOADING_15_AMMODROPPED_PIL_0\""]}],"see_also":["localize","isLocalized","getTextRaw","Stringtable.csv","Stringtable.xml","BIS_fnc_localize"]}