Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LocaleContainer

An object storing locale information. It resembles the directory structure that Catalog objects are found in.

Example, if your textdomain is 'myapp':

{
        fr: {
                LC_MESSAGES: {
                           myapp: catalogs['fr']
                }
        },
        'de-DE': {
                LC_MESSAGES: {
                        myapp: catalogs['de-DE']
                }
        }
}

Hierarchy

  • LocaleContainer

Indexable

[key: string]: {}

A language code like 'fr' or 'de-DE'.

Example, if your textdomain is 'myapp':

{
        fr: {
                LC_MESSAGES: {
                           myapp: catalogs['fr']
                }
        },
        'de-DE': {
                LC_MESSAGES: {
                        myapp: catalogs['de-DE']
                }
        }
}
  • [key: string]: {}

    The Locale category, always 'LC_MESSAGES'.

    • [key: string]: Catalog

      The textdomain.

Generated using TypeDoc