geoview-core - v2.2.0
    Preparing search index...

    Function getLocalizedMessage

    • Returns proper language GeoView localized values from map i18n instance.

      Parameters

      • language: TypeDisplayLanguage

        The language to get the message in

      • messageKey: string

        The localize key to read the message from

      • params: Record<string, unknown> | undefined = undefined

        Optional record of named parameters for i18next interpolation

      Returns string

      The translated message with values replaced