geoview-core
    Preparing search index...

    Function getLocalizedMessage

    • Return 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: unknown[] | undefined = undefined

        An array of parameters to replace, i.e. ['short']

      Returns string

      The translated message with values replaced