clik-engine API
    Preparing search index...

    Class I18nManager

    Index

    Constructors

    Methods

    • Get a translated string by key. Supports nested keys with dot notation. Supports interpolation: t('hello', { name: 'World' }) with "hello": "Hello {{name}}!"

      Parameters

      • key: string
      • Optionalparams: Record<string, string | number>

      Returns string