_setupTranslationToolSupport | protected | | | | |
teardown | public | | | | |
_setHtmlLangAttribute | protected | | locale: string | | |
reset | public | | | | |
addData | public | | locale: string, namespace: string, data: object | | |
setupNamespaceLoader | public | | pattern: RegExp|string, loader: function | | |
loadNamespaces | public | | namespaces: NamespaceObject[], { locale }, options: @param {string} [options.locale] * | Promise.<Object> | |
loadNamespace | public | | namespaceObj: NamespaceObject, { locale = this.locale }, options: @param {string} [options.locale] * | Promise.<Object|void> | |
msg | public | | keys: string | string[], vars: Object.<string,?>, opts: @param {string} [opts.locale] * | string | |
_setupHtmlLangAttributeObserver | protected | | | | |
_teardownHtmlLangAttributeObserver | protected | | | | |
_isNamespaceInCache | protected | | locale: string, namespace: string | | |
_getCachedNamespaceLoaderPromise | protected | | locale: string, namespace: string | | |
_loadNamespaceData | protected | | locale: string, namespaceObj: NamespaceObject, isDynamicImport: boolean, namespace: string | Promise.<Object|void> | |
_getNamespaceLoader | protected | | namespaceObj: NamespaceObject, isDynamicImport: boolean, namespace: string | | |
_getNamespaceLoaderPromise | protected | | loader: function, locale: string, namespace: string, fallbackLocale: string | Promise.<any> | |
_cacheNamespaceLoaderPromise | protected | | locale: string, namespace: string, promise: Promise.<Object|void> | | |
_lookupNamespaceLoader | protected | | namespace: string | function|null | |
_getLangFromLocale | protected | | locale: string | string | |
addEventListener | public | | type: string, listener: EventListener, options: ...Object | | |
removeEventListener | public | | type: string, listener: EventListener, options: ...Object | | |
dispatchEvent | public | | event: CustomEvent | | |
_onLocaleChanged | protected | | newLocale: string, oldLocale: string | undefined | |
_loadAllMissing | protected | | newLocale: string, oldLocale: string | | |
_getMessageForKeys | protected | | keys: string | string[], locale: string | string | undefined | |
_getMessageForKey | protected | | key: string | undefined, locale: string | string | |
setDatePostProcessorForLocale | public | | { locale, postProcessor }, options: {locale:string, postProcessor:DatePostProcessor} | | |
setNumberPostProcessorForLocale | public | | { locale, postProcessor }, options: {locale:string, postProcessor:NumberPostProcessor} | | |