@joblist/components - v0.3.4
    Preparing search index...

    Class TextManager

    Text localization manager

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    language: string
    textDict: Map<string, string>

    Methods

    • Get localized text for a key

      Parameters

      • name: string

        Text key to look up

      Returns string

      Localized text or empty string if not found

    • Set the current language

      Parameters

      • Optionallang: string = TEXT_DEFAULT_LANG

        Language code to set

      Returns void