• Async

    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"

    Parameters

    • source: string

    Returns string

    Bug

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

Generated using TypeDoc