Translation provider interface

interface ITranslator {
    languageCode: string;
    load(domain): IRenderMime.TranslationBundle;
}

Properties

Methods

Properties

languageCode: string

The code of the language in use.

Methods

  • Load translation bundles for a given domain.

    Parameters

    • domain: string

      The translation domain to use for translations.

    Returns IRenderMime.TranslationBundle

    The translation bundle if found, or the English bundle.