Async
returns a translated string for the client's local language. Without an available translation, returns source.
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"
GetLocalizedString("REFORGED")
(Jass) Cannot assign it to a constant variable as it will crash the game. constant string foo = GetLocalizedString("bar")
constant string foo = GetLocalizedString("bar")
Generated using TypeDoc
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"