• JMap.Language.setLocale

    Sets the current locale. JMap Server NG will automatically reload.

    Parameters

    Returns void

    Throws

    if locale is invalid

    Example

    // Supported locales can be retrieved by calling JMap.Language.getLocales()
    const locale = "fr"
    JMap.Language.setLocale(locale)