GetLocalizedString

Parameters
source string
async
This function is asynchronous. The values it returns are not guaranteed to be the same for each player. If you attempt to use it in an synchronous manner it may cause a desync.
bug

(Jass) Cannot assign it to a constant variable as it will crash the game. constant string foo = GetLocalizedString("bar")

comment

returns a translated string for the client's local language. Without an available translation, returns source.

The result will differ between players with different languages. Possible sources are the .fdf files and the war3map.wts file.

Example: GetLocalizedString("REFORGED") -> "Reforged"

return type
string
Source code
native GetLocalizedString takes string source returns string
Source
common.j
wc3modding.com
GetLocalizedString