@prosopo/locale 3.13.0 → 3.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build$colon$cjs.log +284 -284
- package/.turbo/turbo-build$colon$esm.log +319 -0
- package/.turbo/turbo-build$colon$tsc.log +5 -5
- package/.turbo/turbo-build$colon$types.log +1 -0
- package/CHANGELOG.md +19 -0
- package/dist/cjs/i18nBackend.cjs +1 -10
- package/dist/esm/i18nBackend.js +35 -0
- package/dist/esm/locales/af/target.json +301 -0
- package/dist/esm/locales/af/translation.json +71 -0
- package/dist/esm/locales/af/widget.json +190 -0
- package/dist/esm/locales/am/target.json +301 -0
- package/dist/esm/locales/am/translation.json +71 -0
- package/dist/esm/locales/am/widget.json +190 -0
- package/dist/esm/locales/an/target.json +301 -0
- package/dist/esm/locales/an/translation.json +71 -0
- package/dist/esm/locales/an/widget.json +190 -0
- package/dist/esm/locales/ar/target.json +301 -0
- package/dist/esm/locales/ar/translation.json +71 -0
- package/dist/esm/locales/ar/widget.json +190 -0
- package/dist/esm/locales/as/target.json +301 -0
- package/dist/esm/locales/as/translation.json +71 -0
- package/dist/esm/locales/as/widget.json +190 -0
- package/dist/esm/locales/ast/target.json +301 -0
- package/dist/esm/locales/ast/translation.json +71 -0
- package/dist/esm/locales/ast/widget.json +190 -0
- package/dist/esm/locales/az/target.json +301 -0
- package/dist/esm/locales/az/translation.json +71 -0
- package/dist/esm/locales/az/widget.json +190 -0
- package/dist/esm/locales/be/target.json +301 -0
- package/dist/esm/locales/be/translation.json +71 -0
- package/dist/esm/locales/be/widget.json +190 -0
- package/dist/esm/locales/bg/target.json +301 -0
- package/dist/esm/locales/bg/translation.json +71 -0
- package/dist/esm/locales/bg/widget.json +190 -0
- package/dist/esm/locales/bn/target.json +301 -0
- package/dist/esm/locales/bn/translation.json +71 -0
- package/dist/esm/locales/bn/widget.json +190 -0
- package/dist/esm/locales/bs/target.json +301 -0
- package/dist/esm/locales/bs/translation.json +71 -0
- package/dist/esm/locales/bs/widget.json +190 -0
- package/dist/esm/locales/ca/target.json +301 -0
- package/dist/esm/locales/ca/translation.json +71 -0
- package/dist/esm/locales/ca/widget.json +190 -0
- package/dist/esm/locales/cs/target.json +301 -0
- package/dist/esm/locales/cs/translation.json +71 -0
- package/dist/esm/locales/cs/widget.json +190 -0
- package/dist/esm/locales/cy/target.json +301 -0
- package/dist/esm/locales/cy/translation.json +71 -0
- package/dist/esm/locales/cy/widget.json +190 -0
- package/dist/esm/locales/da/target.json +301 -0
- package/dist/esm/locales/da/translation.json +71 -0
- package/dist/esm/locales/da/widget.json +190 -0
- package/dist/esm/locales/de/target.json +301 -0
- package/dist/esm/locales/de/translation.json +71 -0
- package/dist/esm/locales/de/widget.json +190 -0
- package/dist/esm/locales/el/target.json +301 -0
- package/dist/esm/locales/el/translation.json +71 -0
- package/dist/esm/locales/el/widget.json +190 -0
- package/dist/esm/locales/en/target.json +301 -0
- package/dist/esm/locales/en/translation.json +71 -0
- package/dist/esm/locales/en/widget.json +190 -0
- package/dist/esm/locales/en-GB/target.json +301 -0
- package/dist/esm/locales/en-GB/translation.json +71 -0
- package/dist/esm/locales/en-GB/widget.json +190 -0
- package/dist/esm/locales/eo/target.json +301 -0
- package/dist/esm/locales/eo/translation.json +71 -0
- package/dist/esm/locales/eo/widget.json +190 -0
- package/dist/esm/locales/es/target.json +301 -0
- package/dist/esm/locales/es/translation.json +71 -0
- package/dist/esm/locales/es/widget.json +190 -0
- package/dist/esm/locales/et/target.json +301 -0
- package/dist/esm/locales/et/translation.json +71 -0
- package/dist/esm/locales/et/widget.json +190 -0
- package/dist/esm/locales/eu/target.json +301 -0
- package/dist/esm/locales/eu/translation.json +71 -0
- package/dist/esm/locales/eu/widget.json +190 -0
- package/dist/esm/locales/fa/target.json +301 -0
- package/dist/esm/locales/fa/translation.json +71 -0
- package/dist/esm/locales/fa/widget.json +190 -0
- package/dist/esm/locales/fi/target.json +301 -0
- package/dist/esm/locales/fi/translation.json +71 -0
- package/dist/esm/locales/fi/widget.json +190 -0
- package/dist/esm/locales/fil/target.json +301 -0
- package/dist/esm/locales/fil/translation.json +71 -0
- package/dist/esm/locales/fil/widget.json +190 -0
- package/dist/esm/locales/fr/target.json +301 -0
- package/dist/esm/locales/fr/translation.json +71 -0
- package/dist/esm/locales/fr/widget.json +190 -0
- package/dist/esm/locales/fy/target.json +301 -0
- package/dist/esm/locales/fy/translation.json +71 -0
- package/dist/esm/locales/fy/widget.json +190 -0
- package/dist/esm/locales/ga/target.json +301 -0
- package/dist/esm/locales/ga/translation.json +71 -0
- package/dist/esm/locales/ga/widget.json +190 -0
- package/dist/esm/locales/gd/target.json +301 -0
- package/dist/esm/locales/gd/translation.json +71 -0
- package/dist/esm/locales/gd/widget.json +190 -0
- package/dist/esm/locales/gl/target.json +301 -0
- package/dist/esm/locales/gl/translation.json +71 -0
- package/dist/esm/locales/gl/widget.json +190 -0
- package/dist/esm/locales/gu/target.json +301 -0
- package/dist/esm/locales/gu/translation.json +71 -0
- package/dist/esm/locales/gu/widget.json +190 -0
- package/dist/esm/locales/he/target.json +301 -0
- package/dist/esm/locales/he/translation.json +71 -0
- package/dist/esm/locales/he/widget.json +190 -0
- package/dist/esm/locales/hi/target.json +301 -0
- package/dist/esm/locales/hi/translation.json +71 -0
- package/dist/esm/locales/hi/widget.json +190 -0
- package/dist/esm/locales/hr/target.json +301 -0
- package/dist/esm/locales/hr/translation.json +71 -0
- package/dist/esm/locales/hr/widget.json +190 -0
- package/dist/esm/locales/hu/target.json +301 -0
- package/dist/esm/locales/hu/translation.json +71 -0
- package/dist/esm/locales/hu/widget.json +190 -0
- package/dist/esm/locales/hy/target.json +301 -0
- package/dist/esm/locales/hy/translation.json +71 -0
- package/dist/esm/locales/hy/widget.json +190 -0
- package/dist/esm/locales/ia/target.json +301 -0
- package/dist/esm/locales/ia/translation.json +71 -0
- package/dist/esm/locales/ia/widget.json +190 -0
- package/dist/esm/locales/id/target.json +301 -0
- package/dist/esm/locales/id/translation.json +71 -0
- package/dist/esm/locales/id/widget.json +190 -0
- package/dist/esm/locales/is/target.json +301 -0
- package/dist/esm/locales/is/translation.json +71 -0
- package/dist/esm/locales/is/widget.json +190 -0
- package/dist/esm/locales/it/target.json +301 -0
- package/dist/esm/locales/it/translation.json +71 -0
- package/dist/esm/locales/it/widget.json +190 -0
- package/dist/esm/locales/ja/target.json +301 -0
- package/dist/esm/locales/ja/translation.json +71 -0
- package/dist/esm/locales/ja/widget.json +190 -0
- package/dist/esm/locales/jv/target.json +301 -0
- package/dist/esm/locales/jv/translation.json +71 -0
- package/dist/esm/locales/jv/widget.json +190 -0
- package/dist/esm/locales/ka/target.json +301 -0
- package/dist/esm/locales/ka/translation.json +71 -0
- package/dist/esm/locales/ka/widget.json +190 -0
- package/dist/esm/locales/kk/target.json +301 -0
- package/dist/esm/locales/kk/translation.json +71 -0
- package/dist/esm/locales/kk/widget.json +190 -0
- package/dist/esm/locales/km/target.json +301 -0
- package/dist/esm/locales/km/translation.json +71 -0
- package/dist/esm/locales/km/widget.json +190 -0
- package/dist/esm/locales/kn/target.json +301 -0
- package/dist/esm/locales/kn/translation.json +71 -0
- package/dist/esm/locales/kn/widget.json +190 -0
- package/dist/esm/locales/ko/target.json +301 -0
- package/dist/esm/locales/ko/translation.json +71 -0
- package/dist/esm/locales/ko/widget.json +190 -0
- package/dist/esm/locales/ky/target.json +301 -0
- package/dist/esm/locales/ky/translation.json +71 -0
- package/dist/esm/locales/ky/widget.json +190 -0
- package/dist/esm/locales/lo/target.json +301 -0
- package/dist/esm/locales/lo/translation.json +71 -0
- package/dist/esm/locales/lo/widget.json +190 -0
- package/dist/esm/locales/lt/target.json +301 -0
- package/dist/esm/locales/lt/translation.json +71 -0
- package/dist/esm/locales/lt/widget.json +190 -0
- package/dist/esm/locales/lv/target.json +301 -0
- package/dist/esm/locales/lv/translation.json +71 -0
- package/dist/esm/locales/lv/widget.json +190 -0
- package/dist/esm/locales/mk/target.json +301 -0
- package/dist/esm/locales/mk/translation.json +71 -0
- package/dist/esm/locales/mk/widget.json +190 -0
- package/dist/esm/locales/ml/target.json +301 -0
- package/dist/esm/locales/ml/translation.json +71 -0
- package/dist/esm/locales/ml/widget.json +190 -0
- package/dist/esm/locales/mn/target.json +301 -0
- package/dist/esm/locales/mn/translation.json +71 -0
- package/dist/esm/locales/mn/widget.json +190 -0
- package/dist/esm/locales/mr/target.json +301 -0
- package/dist/esm/locales/mr/translation.json +71 -0
- package/dist/esm/locales/mr/widget.json +190 -0
- package/dist/esm/locales/ms/target.json +301 -0
- package/dist/esm/locales/ms/translation.json +71 -0
- package/dist/esm/locales/ms/widget.json +190 -0
- package/dist/esm/locales/my/target.json +301 -0
- package/dist/esm/locales/my/translation.json +71 -0
- package/dist/esm/locales/my/widget.json +190 -0
- package/dist/esm/locales/ne/target.json +301 -0
- package/dist/esm/locales/ne/translation.json +71 -0
- package/dist/esm/locales/ne/widget.json +190 -0
- package/dist/esm/locales/nl/target.json +301 -0
- package/dist/esm/locales/nl/translation.json +71 -0
- package/dist/esm/locales/nl/widget.json +190 -0
- package/dist/esm/locales/nn/target.json +301 -0
- package/dist/esm/locales/nn/translation.json +71 -0
- package/dist/esm/locales/nn/widget.json +190 -0
- package/dist/esm/locales/no/target.json +301 -0
- package/dist/esm/locales/no/translation.json +71 -0
- package/dist/esm/locales/no/widget.json +190 -0
- package/dist/esm/locales/oc/target.json +301 -0
- package/dist/esm/locales/oc/translation.json +71 -0
- package/dist/esm/locales/oc/widget.json +190 -0
- package/dist/esm/locales/or/target.json +301 -0
- package/dist/esm/locales/or/translation.json +71 -0
- package/dist/esm/locales/or/widget.json +190 -0
- package/dist/esm/locales/pa/target.json +301 -0
- package/dist/esm/locales/pa/translation.json +71 -0
- package/dist/esm/locales/pa/widget.json +190 -0
- package/dist/esm/locales/pl/target.json +301 -0
- package/dist/esm/locales/pl/translation.json +71 -0
- package/dist/esm/locales/pl/widget.json +190 -0
- package/dist/esm/locales/pt/target.json +301 -0
- package/dist/esm/locales/pt/translation.json +71 -0
- package/dist/esm/locales/pt/widget.json +190 -0
- package/dist/esm/locales/pt-BR/target.json +301 -0
- package/dist/esm/locales/pt-BR/translation.json +71 -0
- package/dist/esm/locales/pt-BR/widget.json +190 -0
- package/dist/esm/locales/rm/target.json +301 -0
- package/dist/esm/locales/rm/translation.json +71 -0
- package/dist/esm/locales/rm/widget.json +190 -0
- package/dist/esm/locales/ro/target.json +301 -0
- package/dist/esm/locales/ro/translation.json +71 -0
- package/dist/esm/locales/ro/widget.json +190 -0
- package/dist/esm/locales/ru/target.json +301 -0
- package/dist/esm/locales/ru/translation.json +71 -0
- package/dist/esm/locales/ru/widget.json +190 -0
- package/dist/esm/locales/sco/target.json +301 -0
- package/dist/esm/locales/sco/translation.json +71 -0
- package/dist/esm/locales/sco/widget.json +190 -0
- package/dist/esm/locales/si/target.json +301 -0
- package/dist/esm/locales/si/translation.json +71 -0
- package/dist/esm/locales/si/widget.json +190 -0
- package/dist/esm/locales/sk/target.json +301 -0
- package/dist/esm/locales/sk/translation.json +71 -0
- package/dist/esm/locales/sk/widget.json +190 -0
- package/dist/esm/locales/sl/target.json +301 -0
- package/dist/esm/locales/sl/translation.json +71 -0
- package/dist/esm/locales/sl/widget.json +190 -0
- package/dist/esm/locales/sq/target.json +301 -0
- package/dist/esm/locales/sq/translation.json +71 -0
- package/dist/esm/locales/sq/widget.json +190 -0
- package/dist/esm/locales/sr/target.json +301 -0
- package/dist/esm/locales/sr/translation.json +71 -0
- package/dist/esm/locales/sr/widget.json +190 -0
- package/dist/esm/locales/sv/target.json +301 -0
- package/dist/esm/locales/sv/translation.json +71 -0
- package/dist/esm/locales/sv/widget.json +190 -0
- package/dist/esm/locales/sw/target.json +301 -0
- package/dist/esm/locales/sw/translation.json +71 -0
- package/dist/esm/locales/sw/widget.json +190 -0
- package/dist/esm/locales/ta/target.json +301 -0
- package/dist/esm/locales/ta/translation.json +71 -0
- package/dist/esm/locales/ta/widget.json +190 -0
- package/dist/esm/locales/te/target.json +301 -0
- package/dist/esm/locales/te/translation.json +71 -0
- package/dist/esm/locales/te/widget.json +190 -0
- package/dist/esm/locales/tg/target.json +301 -0
- package/dist/esm/locales/tg/translation.json +71 -0
- package/dist/esm/locales/tg/widget.json +190 -0
- package/dist/esm/locales/th/target.json +301 -0
- package/dist/esm/locales/th/translation.json +71 -0
- package/dist/esm/locales/th/widget.json +190 -0
- package/dist/esm/locales/tr/target.json +301 -0
- package/dist/esm/locales/tr/translation.json +71 -0
- package/dist/esm/locales/tr/widget.json +190 -0
- package/dist/esm/locales/uk/target.json +301 -0
- package/dist/esm/locales/uk/translation.json +71 -0
- package/dist/esm/locales/uk/widget.json +190 -0
- package/dist/esm/locales/ur/target.json +301 -0
- package/dist/esm/locales/ur/translation.json +71 -0
- package/dist/esm/locales/ur/widget.json +190 -0
- package/dist/esm/locales/uz/target.json +301 -0
- package/dist/esm/locales/uz/translation.json +71 -0
- package/dist/esm/locales/uz/widget.json +190 -0
- package/dist/esm/locales/vi/target.json +301 -0
- package/dist/esm/locales/vi/translation.json +71 -0
- package/dist/esm/locales/vi/widget.json +190 -0
- package/dist/esm/locales/xh/target.json +301 -0
- package/dist/esm/locales/xh/translation.json +71 -0
- package/dist/esm/locales/xh/widget.json +190 -0
- package/dist/esm/locales/zh/target.json +301 -0
- package/dist/esm/locales/zh/translation.json +71 -0
- package/dist/esm/locales/zh/widget.json +190 -0
- package/dist/esm/locales/zh-CN/target.json +301 -0
- package/dist/esm/locales/zh-CN/translation.json +71 -0
- package/dist/esm/locales/zh-CN/widget.json +190 -0
- package/dist/esm/locales/zh-HK/target.json +301 -0
- package/dist/esm/locales/zh-HK/translation.json +71 -0
- package/dist/esm/locales/zh-HK/widget.json +190 -0
- package/dist/esm/locales/zh-TW/target.json +301 -0
- package/dist/esm/locales/zh-TW/translation.json +71 -0
- package/dist/esm/locales/zh-TW/widget.json +190 -0
- package/dist/esm/locales/zu/target.json +301 -0
- package/dist/esm/locales/zu/translation.json +71 -0
- package/dist/esm/locales/zu/widget.json +190 -0
- package/dist/tsc/browserUiLanguages.d.ts.map +1 -0
- package/dist/tsc/browserUiLanguages.js +231 -0
- package/dist/tsc/browserUiLanguages.js.map +1 -0
- package/dist/tsc/direction.d.ts.map +1 -0
- package/dist/tsc/direction.js +52 -0
- package/dist/tsc/direction.js.map +1 -0
- package/dist/tsc/errorMessage.d.ts.map +1 -0
- package/dist/tsc/errorMessage.js +11 -0
- package/dist/tsc/errorMessage.js.map +1 -0
- package/dist/tsc/i18SharedOptions.d.ts.map +1 -0
- package/dist/tsc/i18SharedOptions.js +10 -0
- package/dist/tsc/i18SharedOptions.js.map +1 -0
- package/dist/tsc/i18nBackend.d.ts +5 -0
- package/dist/tsc/i18nBackend.d.ts.map +1 -0
- package/dist/tsc/i18nBackend.js +40 -0
- package/dist/tsc/i18nBackend.js.map +1 -0
- package/dist/tsc/i18nFrontend.d.ts.map +1 -0
- package/dist/tsc/i18nFrontend.js +114 -0
- package/dist/tsc/i18nFrontend.js.map +1 -0
- package/dist/tsc/i18nMiddleware.d.ts.map +1 -0
- package/dist/tsc/i18nMiddleware.js +9 -0
- package/dist/tsc/i18nMiddleware.js.map +1 -0
- package/dist/tsc/index.d.ts.map +1 -0
- package/dist/tsc/index.js +13 -0
- package/dist/tsc/index.js.map +1 -0
- package/dist/tsc/languagePreference.d.ts.map +1 -0
- package/dist/tsc/languagePreference.js +122 -0
- package/dist/tsc/languagePreference.js.map +1 -0
- package/dist/tsc/loadI18next.d.ts.map +1 -0
- package/dist/tsc/loadI18next.js +69 -0
- package/dist/tsc/loadI18next.js.map +1 -0
- package/dist/tsc/locales/af/target.json +301 -0
- package/dist/tsc/locales/af/translation.json +71 -0
- package/dist/tsc/locales/af/widget.json +190 -0
- package/dist/tsc/locales/am/target.json +301 -0
- package/dist/tsc/locales/am/translation.json +71 -0
- package/dist/tsc/locales/am/widget.json +190 -0
- package/dist/tsc/locales/an/target.json +301 -0
- package/dist/tsc/locales/an/translation.json +71 -0
- package/dist/tsc/locales/an/widget.json +190 -0
- package/dist/tsc/locales/ar/target.json +301 -0
- package/dist/tsc/locales/ar/translation.json +71 -0
- package/dist/tsc/locales/ar/widget.json +190 -0
- package/dist/tsc/locales/as/target.json +301 -0
- package/dist/tsc/locales/as/translation.json +71 -0
- package/dist/tsc/locales/as/widget.json +190 -0
- package/dist/tsc/locales/ast/target.json +301 -0
- package/dist/tsc/locales/ast/translation.json +71 -0
- package/dist/tsc/locales/ast/widget.json +190 -0
- package/dist/tsc/locales/az/target.json +301 -0
- package/dist/tsc/locales/az/translation.json +71 -0
- package/dist/tsc/locales/az/widget.json +190 -0
- package/dist/tsc/locales/be/target.json +301 -0
- package/dist/tsc/locales/be/translation.json +71 -0
- package/dist/tsc/locales/be/widget.json +190 -0
- package/dist/tsc/locales/bg/target.json +301 -0
- package/dist/tsc/locales/bg/translation.json +71 -0
- package/dist/tsc/locales/bg/widget.json +190 -0
- package/dist/tsc/locales/bn/target.json +301 -0
- package/dist/tsc/locales/bn/translation.json +71 -0
- package/dist/tsc/locales/bn/widget.json +190 -0
- package/dist/tsc/locales/bs/target.json +301 -0
- package/dist/tsc/locales/bs/translation.json +71 -0
- package/dist/tsc/locales/bs/widget.json +190 -0
- package/dist/tsc/locales/ca/target.json +301 -0
- package/dist/tsc/locales/ca/translation.json +71 -0
- package/dist/tsc/locales/ca/widget.json +190 -0
- package/dist/tsc/locales/cs/target.json +301 -0
- package/dist/tsc/locales/cs/translation.json +71 -0
- package/dist/tsc/locales/cs/widget.json +190 -0
- package/dist/tsc/locales/cy/target.json +301 -0
- package/dist/tsc/locales/cy/translation.json +71 -0
- package/dist/tsc/locales/cy/widget.json +190 -0
- package/dist/tsc/locales/da/target.json +301 -0
- package/dist/tsc/locales/da/translation.json +71 -0
- package/dist/tsc/locales/da/widget.json +190 -0
- package/dist/tsc/locales/de/target.json +301 -0
- package/dist/tsc/locales/de/translation.json +71 -0
- package/dist/tsc/locales/de/widget.json +190 -0
- package/dist/tsc/locales/el/target.json +301 -0
- package/dist/tsc/locales/el/translation.json +71 -0
- package/dist/tsc/locales/el/widget.json +190 -0
- package/dist/tsc/locales/en/target.json +301 -0
- package/dist/tsc/locales/en/translation.json +71 -0
- package/dist/tsc/locales/en/widget.json +190 -0
- package/dist/tsc/locales/en-GB/target.json +301 -0
- package/dist/tsc/locales/en-GB/translation.json +71 -0
- package/dist/tsc/locales/en-GB/widget.json +190 -0
- package/dist/tsc/locales/eo/target.json +301 -0
- package/dist/tsc/locales/eo/translation.json +71 -0
- package/dist/tsc/locales/eo/widget.json +190 -0
- package/dist/tsc/locales/es/target.json +301 -0
- package/dist/tsc/locales/es/translation.json +71 -0
- package/dist/tsc/locales/es/widget.json +190 -0
- package/dist/tsc/locales/et/target.json +301 -0
- package/dist/tsc/locales/et/translation.json +71 -0
- package/dist/tsc/locales/et/widget.json +190 -0
- package/dist/tsc/locales/eu/target.json +301 -0
- package/dist/tsc/locales/eu/translation.json +71 -0
- package/dist/tsc/locales/eu/widget.json +190 -0
- package/dist/tsc/locales/fa/target.json +301 -0
- package/dist/tsc/locales/fa/translation.json +71 -0
- package/dist/tsc/locales/fa/widget.json +190 -0
- package/dist/tsc/locales/fi/target.json +301 -0
- package/dist/tsc/locales/fi/translation.json +71 -0
- package/dist/tsc/locales/fi/widget.json +190 -0
- package/dist/tsc/locales/fil/target.json +301 -0
- package/dist/tsc/locales/fil/translation.json +71 -0
- package/dist/tsc/locales/fil/widget.json +190 -0
- package/dist/tsc/locales/fr/target.json +301 -0
- package/dist/tsc/locales/fr/translation.json +71 -0
- package/dist/tsc/locales/fr/widget.json +190 -0
- package/dist/tsc/locales/fy/target.json +301 -0
- package/dist/tsc/locales/fy/translation.json +71 -0
- package/dist/tsc/locales/fy/widget.json +190 -0
- package/dist/tsc/locales/ga/target.json +301 -0
- package/dist/tsc/locales/ga/translation.json +71 -0
- package/dist/tsc/locales/ga/widget.json +190 -0
- package/dist/tsc/locales/gd/target.json +301 -0
- package/dist/tsc/locales/gd/translation.json +71 -0
- package/dist/tsc/locales/gd/widget.json +190 -0
- package/dist/tsc/locales/gl/target.json +301 -0
- package/dist/tsc/locales/gl/translation.json +71 -0
- package/dist/tsc/locales/gl/widget.json +190 -0
- package/dist/tsc/locales/gu/target.json +301 -0
- package/dist/tsc/locales/gu/translation.json +71 -0
- package/dist/tsc/locales/gu/widget.json +190 -0
- package/dist/tsc/locales/he/target.json +301 -0
- package/dist/tsc/locales/he/translation.json +71 -0
- package/dist/tsc/locales/he/widget.json +190 -0
- package/dist/tsc/locales/hi/target.json +301 -0
- package/dist/tsc/locales/hi/translation.json +71 -0
- package/dist/tsc/locales/hi/widget.json +190 -0
- package/dist/tsc/locales/hr/target.json +301 -0
- package/dist/tsc/locales/hr/translation.json +71 -0
- package/dist/tsc/locales/hr/widget.json +190 -0
- package/dist/tsc/locales/hu/target.json +301 -0
- package/dist/tsc/locales/hu/translation.json +71 -0
- package/dist/tsc/locales/hu/widget.json +190 -0
- package/dist/tsc/locales/hy/target.json +301 -0
- package/dist/tsc/locales/hy/translation.json +71 -0
- package/dist/tsc/locales/hy/widget.json +190 -0
- package/dist/tsc/locales/ia/target.json +301 -0
- package/dist/tsc/locales/ia/translation.json +71 -0
- package/dist/tsc/locales/ia/widget.json +190 -0
- package/dist/tsc/locales/id/target.json +301 -0
- package/dist/tsc/locales/id/translation.json +71 -0
- package/dist/tsc/locales/id/widget.json +190 -0
- package/dist/tsc/locales/is/target.json +301 -0
- package/dist/tsc/locales/is/translation.json +71 -0
- package/dist/tsc/locales/is/widget.json +190 -0
- package/dist/tsc/locales/it/target.json +301 -0
- package/dist/tsc/locales/it/translation.json +71 -0
- package/dist/tsc/locales/it/widget.json +190 -0
- package/dist/tsc/locales/ja/target.json +301 -0
- package/dist/tsc/locales/ja/translation.json +71 -0
- package/dist/tsc/locales/ja/widget.json +190 -0
- package/dist/tsc/locales/jv/target.json +301 -0
- package/dist/tsc/locales/jv/translation.json +71 -0
- package/dist/tsc/locales/jv/widget.json +190 -0
- package/dist/tsc/locales/ka/target.json +301 -0
- package/dist/tsc/locales/ka/translation.json +71 -0
- package/dist/tsc/locales/ka/widget.json +190 -0
- package/dist/tsc/locales/kk/target.json +301 -0
- package/dist/tsc/locales/kk/translation.json +71 -0
- package/dist/tsc/locales/kk/widget.json +190 -0
- package/dist/tsc/locales/km/target.json +301 -0
- package/dist/tsc/locales/km/translation.json +71 -0
- package/dist/tsc/locales/km/widget.json +190 -0
- package/dist/tsc/locales/kn/target.json +301 -0
- package/dist/tsc/locales/kn/translation.json +71 -0
- package/dist/tsc/locales/kn/widget.json +190 -0
- package/dist/tsc/locales/ko/target.json +301 -0
- package/dist/tsc/locales/ko/translation.json +71 -0
- package/dist/tsc/locales/ko/widget.json +190 -0
- package/dist/tsc/locales/ky/target.json +301 -0
- package/dist/tsc/locales/ky/translation.json +71 -0
- package/dist/tsc/locales/ky/widget.json +190 -0
- package/dist/tsc/locales/lo/target.json +301 -0
- package/dist/tsc/locales/lo/translation.json +71 -0
- package/dist/tsc/locales/lo/widget.json +190 -0
- package/dist/tsc/locales/lt/target.json +301 -0
- package/dist/tsc/locales/lt/translation.json +71 -0
- package/dist/tsc/locales/lt/widget.json +190 -0
- package/dist/tsc/locales/lv/target.json +301 -0
- package/dist/tsc/locales/lv/translation.json +71 -0
- package/dist/tsc/locales/lv/widget.json +190 -0
- package/dist/tsc/locales/mk/target.json +301 -0
- package/dist/tsc/locales/mk/translation.json +71 -0
- package/dist/tsc/locales/mk/widget.json +190 -0
- package/dist/tsc/locales/ml/target.json +301 -0
- package/dist/tsc/locales/ml/translation.json +71 -0
- package/dist/tsc/locales/ml/widget.json +190 -0
- package/dist/tsc/locales/mn/target.json +301 -0
- package/dist/tsc/locales/mn/translation.json +71 -0
- package/dist/tsc/locales/mn/widget.json +190 -0
- package/dist/tsc/locales/mr/target.json +301 -0
- package/dist/tsc/locales/mr/translation.json +71 -0
- package/dist/tsc/locales/mr/widget.json +190 -0
- package/dist/tsc/locales/ms/target.json +301 -0
- package/dist/tsc/locales/ms/translation.json +71 -0
- package/dist/tsc/locales/ms/widget.json +190 -0
- package/dist/tsc/locales/my/target.json +301 -0
- package/dist/tsc/locales/my/translation.json +71 -0
- package/dist/tsc/locales/my/widget.json +190 -0
- package/dist/tsc/locales/ne/target.json +301 -0
- package/dist/tsc/locales/ne/translation.json +71 -0
- package/dist/tsc/locales/ne/widget.json +190 -0
- package/dist/tsc/locales/nl/target.json +301 -0
- package/dist/tsc/locales/nl/translation.json +71 -0
- package/dist/tsc/locales/nl/widget.json +190 -0
- package/dist/tsc/locales/nn/target.json +301 -0
- package/dist/tsc/locales/nn/translation.json +71 -0
- package/dist/tsc/locales/nn/widget.json +190 -0
- package/dist/tsc/locales/no/target.json +301 -0
- package/dist/tsc/locales/no/translation.json +71 -0
- package/dist/tsc/locales/no/widget.json +190 -0
- package/dist/tsc/locales/oc/target.json +301 -0
- package/dist/tsc/locales/oc/translation.json +71 -0
- package/dist/tsc/locales/oc/widget.json +190 -0
- package/dist/tsc/locales/or/target.json +301 -0
- package/dist/tsc/locales/or/translation.json +71 -0
- package/dist/tsc/locales/or/widget.json +190 -0
- package/dist/tsc/locales/pa/target.json +301 -0
- package/dist/tsc/locales/pa/translation.json +71 -0
- package/dist/tsc/locales/pa/widget.json +190 -0
- package/dist/tsc/locales/pl/target.json +301 -0
- package/dist/tsc/locales/pl/translation.json +71 -0
- package/dist/tsc/locales/pl/widget.json +190 -0
- package/dist/tsc/locales/pt/target.json +301 -0
- package/dist/tsc/locales/pt/translation.json +71 -0
- package/dist/tsc/locales/pt/widget.json +190 -0
- package/dist/tsc/locales/pt-BR/target.json +301 -0
- package/dist/tsc/locales/pt-BR/translation.json +71 -0
- package/dist/tsc/locales/pt-BR/widget.json +190 -0
- package/dist/tsc/locales/rm/target.json +301 -0
- package/dist/tsc/locales/rm/translation.json +71 -0
- package/dist/tsc/locales/rm/widget.json +190 -0
- package/dist/tsc/locales/ro/target.json +301 -0
- package/dist/tsc/locales/ro/translation.json +71 -0
- package/dist/tsc/locales/ro/widget.json +190 -0
- package/dist/tsc/locales/ru/target.json +301 -0
- package/dist/tsc/locales/ru/translation.json +71 -0
- package/dist/tsc/locales/ru/widget.json +190 -0
- package/dist/tsc/locales/sco/target.json +301 -0
- package/dist/tsc/locales/sco/translation.json +71 -0
- package/dist/tsc/locales/sco/widget.json +190 -0
- package/dist/tsc/locales/si/target.json +301 -0
- package/dist/tsc/locales/si/translation.json +71 -0
- package/dist/tsc/locales/si/widget.json +190 -0
- package/dist/tsc/locales/sk/target.json +301 -0
- package/dist/tsc/locales/sk/translation.json +71 -0
- package/dist/tsc/locales/sk/widget.json +190 -0
- package/dist/tsc/locales/sl/target.json +301 -0
- package/dist/tsc/locales/sl/translation.json +71 -0
- package/dist/tsc/locales/sl/widget.json +190 -0
- package/dist/tsc/locales/sq/target.json +301 -0
- package/dist/tsc/locales/sq/translation.json +71 -0
- package/dist/tsc/locales/sq/widget.json +190 -0
- package/dist/tsc/locales/sr/target.json +301 -0
- package/dist/tsc/locales/sr/translation.json +71 -0
- package/dist/tsc/locales/sr/widget.json +190 -0
- package/dist/tsc/locales/sv/target.json +301 -0
- package/dist/tsc/locales/sv/translation.json +71 -0
- package/dist/tsc/locales/sv/widget.json +190 -0
- package/dist/tsc/locales/sw/target.json +301 -0
- package/dist/tsc/locales/sw/translation.json +71 -0
- package/dist/tsc/locales/sw/widget.json +190 -0
- package/dist/tsc/locales/ta/target.json +301 -0
- package/dist/tsc/locales/ta/translation.json +71 -0
- package/dist/tsc/locales/ta/widget.json +190 -0
- package/dist/tsc/locales/te/target.json +301 -0
- package/dist/tsc/locales/te/translation.json +71 -0
- package/dist/tsc/locales/te/widget.json +190 -0
- package/dist/tsc/locales/tg/target.json +301 -0
- package/dist/tsc/locales/tg/translation.json +71 -0
- package/dist/tsc/locales/tg/widget.json +190 -0
- package/dist/tsc/locales/th/target.json +301 -0
- package/dist/tsc/locales/th/translation.json +71 -0
- package/dist/tsc/locales/th/widget.json +190 -0
- package/dist/tsc/locales/tr/target.json +301 -0
- package/dist/tsc/locales/tr/translation.json +71 -0
- package/dist/tsc/locales/tr/widget.json +190 -0
- package/dist/tsc/locales/uk/target.json +301 -0
- package/dist/tsc/locales/uk/translation.json +71 -0
- package/dist/tsc/locales/uk/widget.json +190 -0
- package/dist/tsc/locales/ur/target.json +301 -0
- package/dist/tsc/locales/ur/translation.json +71 -0
- package/dist/tsc/locales/ur/widget.json +190 -0
- package/dist/tsc/locales/uz/target.json +301 -0
- package/dist/tsc/locales/uz/translation.json +71 -0
- package/dist/tsc/locales/uz/widget.json +190 -0
- package/dist/tsc/locales/vi/target.json +301 -0
- package/dist/tsc/locales/vi/translation.json +71 -0
- package/dist/tsc/locales/vi/widget.json +190 -0
- package/dist/tsc/locales/xh/target.json +301 -0
- package/dist/tsc/locales/xh/translation.json +71 -0
- package/dist/tsc/locales/xh/widget.json +190 -0
- package/dist/tsc/locales/zh/target.json +301 -0
- package/dist/tsc/locales/zh/translation.json +71 -0
- package/dist/tsc/locales/zh/widget.json +190 -0
- package/dist/tsc/locales/zh-CN/target.json +301 -0
- package/dist/tsc/locales/zh-CN/translation.json +71 -0
- package/dist/tsc/locales/zh-CN/widget.json +190 -0
- package/dist/tsc/locales/zh-HK/target.json +301 -0
- package/dist/tsc/locales/zh-HK/translation.json +71 -0
- package/dist/tsc/locales/zh-HK/widget.json +190 -0
- package/dist/tsc/locales/zh-TW/target.json +301 -0
- package/dist/tsc/locales/zh-TW/translation.json +71 -0
- package/dist/tsc/locales/zh-TW/widget.json +190 -0
- package/dist/tsc/locales/zu/target.json +301 -0
- package/dist/tsc/locales/zu/translation.json +71 -0
- package/dist/tsc/locales/zu/widget.json +190 -0
- package/dist/tsc/process.d.ts.map +1 -0
- package/dist/tsc/process.js +2 -0
- package/dist/tsc/process.js.map +1 -0
- package/dist/tsc/requestLanguageDetector.d.ts.map +1 -0
- package/dist/tsc/requestLanguageDetector.js +15 -0
- package/dist/tsc/requestLanguageDetector.js.map +1 -0
- package/dist/tsc/serverTranslationKeys.d.ts.map +1 -0
- package/dist/tsc/serverTranslationKeys.js +18 -0
- package/dist/tsc/serverTranslationKeys.js.map +1 -0
- package/dist/tsc/tests/browserBundle.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/browserBundle.unit.test.js.map +1 -0
- package/dist/tsc/tests/browserUiLanguages.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/browserUiLanguages.unit.test.js.map +1 -0
- package/dist/tsc/tests/catalogues.test-d.d.ts.map +1 -0
- package/dist/tsc/tests/catalogues.test-d.js.map +1 -0
- package/dist/tsc/tests/direction.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/direction.unit.test.js.map +1 -0
- package/dist/tsc/tests/errorMessage.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/errorMessage.unit.test.js.map +1 -0
- package/dist/tsc/tests/i18SharedOptions.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/i18SharedOptions.unit.test.js.map +1 -0
- package/dist/tsc/tests/i18nBackend.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/i18nBackend.unit.test.js +212 -0
- package/dist/tsc/tests/i18nBackend.unit.test.js.map +1 -0
- package/dist/tsc/tests/i18nBackendFiles.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/i18nBackendFiles.unit.test.js.map +1 -0
- package/dist/tsc/tests/i18nFrontend.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/i18nFrontend.unit.test.js.map +1 -0
- package/dist/tsc/tests/i18nMiddleware.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/i18nMiddleware.unit.test.js.map +1 -0
- package/dist/tsc/tests/keptAsIs.d.ts.map +1 -0
- package/dist/tsc/tests/keptAsIs.js.map +1 -0
- package/dist/tsc/tests/languagePreference.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/languagePreference.unit.test.js.map +1 -0
- package/dist/tsc/tests/loadI18next.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/loadI18next.unit.test.js.map +1 -0
- package/dist/tsc/tests/locale.test-d.d.ts.map +1 -0
- package/dist/tsc/tests/locale.test-d.js.map +1 -0
- package/dist/tsc/tests/localePlaceholders.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/localePlaceholders.unit.test.js.map +1 -0
- package/dist/tsc/tests/locales.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/locales.unit.test.js.map +1 -0
- package/dist/tsc/tests/process.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/process.unit.test.js.map +1 -0
- package/dist/tsc/tests/requestLanguageDetector.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/requestLanguageDetector.unit.test.js.map +1 -0
- package/dist/tsc/tests/resultReasonKeys.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/resultReasonKeys.unit.test.js.map +1 -0
- package/dist/tsc/tests/translationKey.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/translationKey.unit.test.js.map +1 -0
- package/dist/tsc/tests/translations.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/translations.unit.test.js.map +1 -0
- package/dist/tsc/tests/translator.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/translator.unit.test.js.map +1 -0
- package/dist/tsc/tests/untranslatedI18n.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/untranslatedI18n.unit.test.js.map +1 -0
- package/dist/tsc/tests/util.unit.test.d.ts.map +1 -0
- package/dist/tsc/tests/util.unit.test.js.map +1 -0
- package/dist/tsc/translationKey.d.ts.map +1 -0
- package/dist/tsc/translationKey.js +28 -0
- package/dist/tsc/translationKey.js.map +1 -0
- package/dist/tsc/translations.d.ts.map +1 -0
- package/dist/tsc/translations.js +99 -0
- package/dist/tsc/translations.js.map +1 -0
- package/dist/tsc/translator.d.ts.map +1 -0
- package/dist/tsc/translator.js +24 -0
- package/dist/tsc/translator.js.map +1 -0
- package/dist/tsc/types.d.ts.map +1 -0
- package/dist/tsc/types.js.map +1 -0
- package/dist/tsc/untranslatedI18n.d.ts.map +1 -0
- package/dist/tsc/untranslatedI18n.js +12 -0
- package/dist/tsc/untranslatedI18n.js.map +1 -0
- package/dist/tsc/util.d.ts.map +1 -0
- package/dist/tsc/util.js +9 -0
- package/dist/tsc/util.js.map +1 -0
- package/dist/types/browserUiLanguages.d.ts +10 -0
- package/dist/types/browserUiLanguages.d.ts.map +1 -0
- package/dist/types/direction.d.ts +3 -0
- package/dist/types/direction.d.ts.map +1 -0
- package/dist/types/errorMessage.d.ts +9 -0
- package/dist/types/errorMessage.d.ts.map +1 -0
- package/dist/types/i18SharedOptions.d.ts +7 -0
- package/dist/types/i18SharedOptions.d.ts.map +1 -0
- package/dist/types/i18nBackend.d.ts +5 -0
- package/dist/types/i18nBackend.d.ts.map +1 -0
- package/dist/types/i18nFrontend.d.ts +4 -0
- package/dist/types/i18nFrontend.d.ts.map +1 -0
- package/dist/types/i18nMiddleware.d.ts +5 -0
- package/dist/types/i18nMiddleware.d.ts.map +1 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/languagePreference.d.ts +17 -0
- package/dist/types/languagePreference.d.ts.map +1 -0
- package/dist/types/loadI18next.d.ts +5 -0
- package/dist/types/loadI18next.d.ts.map +1 -0
- package/dist/types/locales/af/target.json +301 -0
- package/dist/types/locales/af/translation.json +71 -0
- package/dist/types/locales/af/widget.json +190 -0
- package/dist/types/locales/am/target.json +301 -0
- package/dist/types/locales/am/translation.json +71 -0
- package/dist/types/locales/am/widget.json +190 -0
- package/dist/types/locales/an/target.json +301 -0
- package/dist/types/locales/an/translation.json +71 -0
- package/dist/types/locales/an/widget.json +190 -0
- package/dist/types/locales/ar/target.json +301 -0
- package/dist/types/locales/ar/translation.json +71 -0
- package/dist/types/locales/ar/widget.json +190 -0
- package/dist/types/locales/as/target.json +301 -0
- package/dist/types/locales/as/translation.json +71 -0
- package/dist/types/locales/as/widget.json +190 -0
- package/dist/types/locales/ast/target.json +301 -0
- package/dist/types/locales/ast/translation.json +71 -0
- package/dist/types/locales/ast/widget.json +190 -0
- package/dist/types/locales/az/target.json +301 -0
- package/dist/types/locales/az/translation.json +71 -0
- package/dist/types/locales/az/widget.json +190 -0
- package/dist/types/locales/be/target.json +301 -0
- package/dist/types/locales/be/translation.json +71 -0
- package/dist/types/locales/be/widget.json +190 -0
- package/dist/types/locales/bg/target.json +301 -0
- package/dist/types/locales/bg/translation.json +71 -0
- package/dist/types/locales/bg/widget.json +190 -0
- package/dist/types/locales/bn/target.json +301 -0
- package/dist/types/locales/bn/translation.json +71 -0
- package/dist/types/locales/bn/widget.json +190 -0
- package/dist/types/locales/bs/target.json +301 -0
- package/dist/types/locales/bs/translation.json +71 -0
- package/dist/types/locales/bs/widget.json +190 -0
- package/dist/types/locales/ca/target.json +301 -0
- package/dist/types/locales/ca/translation.json +71 -0
- package/dist/types/locales/ca/widget.json +190 -0
- package/dist/types/locales/cs/target.json +301 -0
- package/dist/types/locales/cs/translation.json +71 -0
- package/dist/types/locales/cs/widget.json +190 -0
- package/dist/types/locales/cy/target.json +301 -0
- package/dist/types/locales/cy/translation.json +71 -0
- package/dist/types/locales/cy/widget.json +190 -0
- package/dist/types/locales/da/target.json +301 -0
- package/dist/types/locales/da/translation.json +71 -0
- package/dist/types/locales/da/widget.json +190 -0
- package/dist/types/locales/de/target.json +301 -0
- package/dist/types/locales/de/translation.json +71 -0
- package/dist/types/locales/de/widget.json +190 -0
- package/dist/types/locales/el/target.json +301 -0
- package/dist/types/locales/el/translation.json +71 -0
- package/dist/types/locales/el/widget.json +190 -0
- package/dist/types/locales/en/target.json +301 -0
- package/dist/types/locales/en/translation.json +71 -0
- package/dist/types/locales/en/widget.json +190 -0
- package/dist/types/locales/en-GB/target.json +301 -0
- package/dist/types/locales/en-GB/translation.json +71 -0
- package/dist/types/locales/en-GB/widget.json +190 -0
- package/dist/types/locales/eo/target.json +301 -0
- package/dist/types/locales/eo/translation.json +71 -0
- package/dist/types/locales/eo/widget.json +190 -0
- package/dist/types/locales/es/target.json +301 -0
- package/dist/types/locales/es/translation.json +71 -0
- package/dist/types/locales/es/widget.json +190 -0
- package/dist/types/locales/et/target.json +301 -0
- package/dist/types/locales/et/translation.json +71 -0
- package/dist/types/locales/et/widget.json +190 -0
- package/dist/types/locales/eu/target.json +301 -0
- package/dist/types/locales/eu/translation.json +71 -0
- package/dist/types/locales/eu/widget.json +190 -0
- package/dist/types/locales/fa/target.json +301 -0
- package/dist/types/locales/fa/translation.json +71 -0
- package/dist/types/locales/fa/widget.json +190 -0
- package/dist/types/locales/fi/target.json +301 -0
- package/dist/types/locales/fi/translation.json +71 -0
- package/dist/types/locales/fi/widget.json +190 -0
- package/dist/types/locales/fil/target.json +301 -0
- package/dist/types/locales/fil/translation.json +71 -0
- package/dist/types/locales/fil/widget.json +190 -0
- package/dist/types/locales/fr/target.json +301 -0
- package/dist/types/locales/fr/translation.json +71 -0
- package/dist/types/locales/fr/widget.json +190 -0
- package/dist/types/locales/fy/target.json +301 -0
- package/dist/types/locales/fy/translation.json +71 -0
- package/dist/types/locales/fy/widget.json +190 -0
- package/dist/types/locales/ga/target.json +301 -0
- package/dist/types/locales/ga/translation.json +71 -0
- package/dist/types/locales/ga/widget.json +190 -0
- package/dist/types/locales/gd/target.json +301 -0
- package/dist/types/locales/gd/translation.json +71 -0
- package/dist/types/locales/gd/widget.json +190 -0
- package/dist/types/locales/gl/target.json +301 -0
- package/dist/types/locales/gl/translation.json +71 -0
- package/dist/types/locales/gl/widget.json +190 -0
- package/dist/types/locales/gu/target.json +301 -0
- package/dist/types/locales/gu/translation.json +71 -0
- package/dist/types/locales/gu/widget.json +190 -0
- package/dist/types/locales/he/target.json +301 -0
- package/dist/types/locales/he/translation.json +71 -0
- package/dist/types/locales/he/widget.json +190 -0
- package/dist/types/locales/hi/target.json +301 -0
- package/dist/types/locales/hi/translation.json +71 -0
- package/dist/types/locales/hi/widget.json +190 -0
- package/dist/types/locales/hr/target.json +301 -0
- package/dist/types/locales/hr/translation.json +71 -0
- package/dist/types/locales/hr/widget.json +190 -0
- package/dist/types/locales/hu/target.json +301 -0
- package/dist/types/locales/hu/translation.json +71 -0
- package/dist/types/locales/hu/widget.json +190 -0
- package/dist/types/locales/hy/target.json +301 -0
- package/dist/types/locales/hy/translation.json +71 -0
- package/dist/types/locales/hy/widget.json +190 -0
- package/dist/types/locales/ia/target.json +301 -0
- package/dist/types/locales/ia/translation.json +71 -0
- package/dist/types/locales/ia/widget.json +190 -0
- package/dist/types/locales/id/target.json +301 -0
- package/dist/types/locales/id/translation.json +71 -0
- package/dist/types/locales/id/widget.json +190 -0
- package/dist/types/locales/is/target.json +301 -0
- package/dist/types/locales/is/translation.json +71 -0
- package/dist/types/locales/is/widget.json +190 -0
- package/dist/types/locales/it/target.json +301 -0
- package/dist/types/locales/it/translation.json +71 -0
- package/dist/types/locales/it/widget.json +190 -0
- package/dist/types/locales/ja/target.json +301 -0
- package/dist/types/locales/ja/translation.json +71 -0
- package/dist/types/locales/ja/widget.json +190 -0
- package/dist/types/locales/jv/target.json +301 -0
- package/dist/types/locales/jv/translation.json +71 -0
- package/dist/types/locales/jv/widget.json +190 -0
- package/dist/types/locales/ka/target.json +301 -0
- package/dist/types/locales/ka/translation.json +71 -0
- package/dist/types/locales/ka/widget.json +190 -0
- package/dist/types/locales/kk/target.json +301 -0
- package/dist/types/locales/kk/translation.json +71 -0
- package/dist/types/locales/kk/widget.json +190 -0
- package/dist/types/locales/km/target.json +301 -0
- package/dist/types/locales/km/translation.json +71 -0
- package/dist/types/locales/km/widget.json +190 -0
- package/dist/types/locales/kn/target.json +301 -0
- package/dist/types/locales/kn/translation.json +71 -0
- package/dist/types/locales/kn/widget.json +190 -0
- package/dist/types/locales/ko/target.json +301 -0
- package/dist/types/locales/ko/translation.json +71 -0
- package/dist/types/locales/ko/widget.json +190 -0
- package/dist/types/locales/ky/target.json +301 -0
- package/dist/types/locales/ky/translation.json +71 -0
- package/dist/types/locales/ky/widget.json +190 -0
- package/dist/types/locales/lo/target.json +301 -0
- package/dist/types/locales/lo/translation.json +71 -0
- package/dist/types/locales/lo/widget.json +190 -0
- package/dist/types/locales/lt/target.json +301 -0
- package/dist/types/locales/lt/translation.json +71 -0
- package/dist/types/locales/lt/widget.json +190 -0
- package/dist/types/locales/lv/target.json +301 -0
- package/dist/types/locales/lv/translation.json +71 -0
- package/dist/types/locales/lv/widget.json +190 -0
- package/dist/types/locales/mk/target.json +301 -0
- package/dist/types/locales/mk/translation.json +71 -0
- package/dist/types/locales/mk/widget.json +190 -0
- package/dist/types/locales/ml/target.json +301 -0
- package/dist/types/locales/ml/translation.json +71 -0
- package/dist/types/locales/ml/widget.json +190 -0
- package/dist/types/locales/mn/target.json +301 -0
- package/dist/types/locales/mn/translation.json +71 -0
- package/dist/types/locales/mn/widget.json +190 -0
- package/dist/types/locales/mr/target.json +301 -0
- package/dist/types/locales/mr/translation.json +71 -0
- package/dist/types/locales/mr/widget.json +190 -0
- package/dist/types/locales/ms/target.json +301 -0
- package/dist/types/locales/ms/translation.json +71 -0
- package/dist/types/locales/ms/widget.json +190 -0
- package/dist/types/locales/my/target.json +301 -0
- package/dist/types/locales/my/translation.json +71 -0
- package/dist/types/locales/my/widget.json +190 -0
- package/dist/types/locales/ne/target.json +301 -0
- package/dist/types/locales/ne/translation.json +71 -0
- package/dist/types/locales/ne/widget.json +190 -0
- package/dist/types/locales/nl/target.json +301 -0
- package/dist/types/locales/nl/translation.json +71 -0
- package/dist/types/locales/nl/widget.json +190 -0
- package/dist/types/locales/nn/target.json +301 -0
- package/dist/types/locales/nn/translation.json +71 -0
- package/dist/types/locales/nn/widget.json +190 -0
- package/dist/types/locales/no/target.json +301 -0
- package/dist/types/locales/no/translation.json +71 -0
- package/dist/types/locales/no/widget.json +190 -0
- package/dist/types/locales/oc/target.json +301 -0
- package/dist/types/locales/oc/translation.json +71 -0
- package/dist/types/locales/oc/widget.json +190 -0
- package/dist/types/locales/or/target.json +301 -0
- package/dist/types/locales/or/translation.json +71 -0
- package/dist/types/locales/or/widget.json +190 -0
- package/dist/types/locales/pa/target.json +301 -0
- package/dist/types/locales/pa/translation.json +71 -0
- package/dist/types/locales/pa/widget.json +190 -0
- package/dist/types/locales/pl/target.json +301 -0
- package/dist/types/locales/pl/translation.json +71 -0
- package/dist/types/locales/pl/widget.json +190 -0
- package/dist/types/locales/pt/target.json +301 -0
- package/dist/types/locales/pt/translation.json +71 -0
- package/dist/types/locales/pt/widget.json +190 -0
- package/dist/types/locales/pt-BR/target.json +301 -0
- package/dist/types/locales/pt-BR/translation.json +71 -0
- package/dist/types/locales/pt-BR/widget.json +190 -0
- package/dist/types/locales/rm/target.json +301 -0
- package/dist/types/locales/rm/translation.json +71 -0
- package/dist/types/locales/rm/widget.json +190 -0
- package/dist/types/locales/ro/target.json +301 -0
- package/dist/types/locales/ro/translation.json +71 -0
- package/dist/types/locales/ro/widget.json +190 -0
- package/dist/types/locales/ru/target.json +301 -0
- package/dist/types/locales/ru/translation.json +71 -0
- package/dist/types/locales/ru/widget.json +190 -0
- package/dist/types/locales/sco/target.json +301 -0
- package/dist/types/locales/sco/translation.json +71 -0
- package/dist/types/locales/sco/widget.json +190 -0
- package/dist/types/locales/si/target.json +301 -0
- package/dist/types/locales/si/translation.json +71 -0
- package/dist/types/locales/si/widget.json +190 -0
- package/dist/types/locales/sk/target.json +301 -0
- package/dist/types/locales/sk/translation.json +71 -0
- package/dist/types/locales/sk/widget.json +190 -0
- package/dist/types/locales/sl/target.json +301 -0
- package/dist/types/locales/sl/translation.json +71 -0
- package/dist/types/locales/sl/widget.json +190 -0
- package/dist/types/locales/sq/target.json +301 -0
- package/dist/types/locales/sq/translation.json +71 -0
- package/dist/types/locales/sq/widget.json +190 -0
- package/dist/types/locales/sr/target.json +301 -0
- package/dist/types/locales/sr/translation.json +71 -0
- package/dist/types/locales/sr/widget.json +190 -0
- package/dist/types/locales/sv/target.json +301 -0
- package/dist/types/locales/sv/translation.json +71 -0
- package/dist/types/locales/sv/widget.json +190 -0
- package/dist/types/locales/sw/target.json +301 -0
- package/dist/types/locales/sw/translation.json +71 -0
- package/dist/types/locales/sw/widget.json +190 -0
- package/dist/types/locales/ta/target.json +301 -0
- package/dist/types/locales/ta/translation.json +71 -0
- package/dist/types/locales/ta/widget.json +190 -0
- package/dist/types/locales/te/target.json +301 -0
- package/dist/types/locales/te/translation.json +71 -0
- package/dist/types/locales/te/widget.json +190 -0
- package/dist/types/locales/tg/target.json +301 -0
- package/dist/types/locales/tg/translation.json +71 -0
- package/dist/types/locales/tg/widget.json +190 -0
- package/dist/types/locales/th/target.json +301 -0
- package/dist/types/locales/th/translation.json +71 -0
- package/dist/types/locales/th/widget.json +190 -0
- package/dist/types/locales/tr/target.json +301 -0
- package/dist/types/locales/tr/translation.json +71 -0
- package/dist/types/locales/tr/widget.json +190 -0
- package/dist/types/locales/uk/target.json +301 -0
- package/dist/types/locales/uk/translation.json +71 -0
- package/dist/types/locales/uk/widget.json +190 -0
- package/dist/types/locales/ur/target.json +301 -0
- package/dist/types/locales/ur/translation.json +71 -0
- package/dist/types/locales/ur/widget.json +190 -0
- package/dist/types/locales/uz/target.json +301 -0
- package/dist/types/locales/uz/translation.json +71 -0
- package/dist/types/locales/uz/widget.json +190 -0
- package/dist/types/locales/vi/target.json +301 -0
- package/dist/types/locales/vi/translation.json +71 -0
- package/dist/types/locales/vi/widget.json +190 -0
- package/dist/types/locales/xh/target.json +301 -0
- package/dist/types/locales/xh/translation.json +71 -0
- package/dist/types/locales/xh/widget.json +190 -0
- package/dist/types/locales/zh/target.json +301 -0
- package/dist/types/locales/zh/translation.json +71 -0
- package/dist/types/locales/zh/widget.json +190 -0
- package/dist/types/locales/zh-CN/target.json +301 -0
- package/dist/types/locales/zh-CN/translation.json +71 -0
- package/dist/types/locales/zh-CN/widget.json +190 -0
- package/dist/types/locales/zh-HK/target.json +301 -0
- package/dist/types/locales/zh-HK/translation.json +71 -0
- package/dist/types/locales/zh-HK/widget.json +190 -0
- package/dist/types/locales/zh-TW/target.json +301 -0
- package/dist/types/locales/zh-TW/translation.json +71 -0
- package/dist/types/locales/zh-TW/widget.json +190 -0
- package/dist/types/locales/zu/target.json +301 -0
- package/dist/types/locales/zu/translation.json +71 -0
- package/dist/types/locales/zu/widget.json +190 -0
- package/dist/types/process.d.ts +2 -0
- package/dist/types/process.d.ts.map +1 -0
- package/dist/types/requestLanguageDetector.d.ts +3 -0
- package/dist/types/requestLanguageDetector.d.ts.map +1 -0
- package/dist/types/serverTranslationKeys.d.ts +7 -0
- package/dist/types/serverTranslationKeys.d.ts.map +1 -0
- package/dist/types/tests/browserBundle.unit.test.d.ts +2 -0
- package/dist/types/tests/browserBundle.unit.test.d.ts.map +1 -0
- package/dist/types/tests/browserUiLanguages.unit.test.d.ts +2 -0
- package/dist/types/tests/browserUiLanguages.unit.test.d.ts.map +1 -0
- package/dist/types/tests/catalogues.test-d.d.ts +2 -0
- package/dist/types/tests/catalogues.test-d.d.ts.map +1 -0
- package/dist/types/tests/direction.unit.test.d.ts +2 -0
- package/dist/types/tests/direction.unit.test.d.ts.map +1 -0
- package/dist/types/tests/errorMessage.unit.test.d.ts +2 -0
- package/dist/types/tests/errorMessage.unit.test.d.ts.map +1 -0
- package/dist/types/tests/i18SharedOptions.unit.test.d.ts +2 -0
- package/dist/types/tests/i18SharedOptions.unit.test.d.ts.map +1 -0
- package/dist/types/tests/i18nBackend.unit.test.d.ts +2 -0
- package/dist/types/tests/i18nBackend.unit.test.d.ts.map +1 -0
- package/dist/types/tests/i18nBackendFiles.unit.test.d.ts +2 -0
- package/dist/types/tests/i18nBackendFiles.unit.test.d.ts.map +1 -0
- package/dist/types/tests/i18nFrontend.unit.test.d.ts +2 -0
- package/dist/types/tests/i18nFrontend.unit.test.d.ts.map +1 -0
- package/dist/types/tests/i18nMiddleware.unit.test.d.ts +2 -0
- package/dist/types/tests/i18nMiddleware.unit.test.d.ts.map +1 -0
- package/dist/types/tests/keptAsIs.d.ts +4 -0
- package/dist/types/tests/keptAsIs.d.ts.map +1 -0
- package/dist/types/tests/languagePreference.unit.test.d.ts +2 -0
- package/dist/types/tests/languagePreference.unit.test.d.ts.map +1 -0
- package/dist/types/tests/loadI18next.unit.test.d.ts +2 -0
- package/dist/types/tests/loadI18next.unit.test.d.ts.map +1 -0
- package/dist/types/tests/locale.test-d.d.ts +2 -0
- package/dist/types/tests/locale.test-d.d.ts.map +1 -0
- package/dist/types/tests/localePlaceholders.unit.test.d.ts +2 -0
- package/dist/types/tests/localePlaceholders.unit.test.d.ts.map +1 -0
- package/dist/types/tests/locales.unit.test.d.ts +2 -0
- package/dist/types/tests/locales.unit.test.d.ts.map +1 -0
- package/dist/types/tests/process.unit.test.d.ts +2 -0
- package/dist/types/tests/process.unit.test.d.ts.map +1 -0
- package/dist/types/tests/requestLanguageDetector.unit.test.d.ts +2 -0
- package/dist/types/tests/requestLanguageDetector.unit.test.d.ts.map +1 -0
- package/dist/types/tests/resultReasonKeys.unit.test.d.ts +2 -0
- package/dist/types/tests/resultReasonKeys.unit.test.d.ts.map +1 -0
- package/dist/types/tests/translationKey.unit.test.d.ts +2 -0
- package/dist/types/tests/translationKey.unit.test.d.ts.map +1 -0
- package/dist/types/tests/translations.unit.test.d.ts +2 -0
- package/dist/types/tests/translations.unit.test.d.ts.map +1 -0
- package/dist/types/tests/translator.unit.test.d.ts +2 -0
- package/dist/types/tests/translator.unit.test.d.ts.map +1 -0
- package/dist/types/tests/untranslatedI18n.unit.test.d.ts +2 -0
- package/dist/types/tests/untranslatedI18n.unit.test.d.ts.map +1 -0
- package/dist/types/tests/util.unit.test.d.ts +2 -0
- package/dist/types/tests/util.unit.test.d.ts.map +1 -0
- package/dist/types/translationKey.d.ts +25 -0
- package/dist/types/translationKey.d.ts.map +1 -0
- package/dist/types/translations.d.ts +100 -0
- package/dist/types/translations.d.ts.map +1 -0
- package/dist/types/translator.d.ts +10 -0
- package/dist/types/translator.d.ts.map +1 -0
- package/dist/types/types.d.ts +19 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/untranslatedI18n.d.ts +3 -0
- package/dist/types/untranslatedI18n.d.ts.map +1 -0
- package/dist/types/util.d.ts +3 -0
- package/dist/types/util.d.ts.map +1 -0
- package/package.json +20 -21
- package/.turbo/turbo-build.log +0 -320
- package/dist/browserUiLanguages.d.ts.map +0 -1
- package/dist/browserUiLanguages.js.map +0 -1
- package/dist/direction.d.ts.map +0 -1
- package/dist/direction.js.map +0 -1
- package/dist/errorMessage.d.ts.map +0 -1
- package/dist/errorMessage.js.map +0 -1
- package/dist/i18SharedOptions.d.ts.map +0 -1
- package/dist/i18SharedOptions.js.map +0 -1
- package/dist/i18nBackend.d.ts +0 -6
- package/dist/i18nBackend.d.ts.map +0 -1
- package/dist/i18nBackend.js +0 -42
- package/dist/i18nBackend.js.map +0 -1
- package/dist/i18nFrontend.d.ts.map +0 -1
- package/dist/i18nFrontend.js.map +0 -1
- package/dist/i18nMiddleware.d.ts.map +0 -1
- package/dist/i18nMiddleware.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/languagePreference.d.ts.map +0 -1
- package/dist/languagePreference.js.map +0 -1
- package/dist/loadI18next.d.ts.map +0 -1
- package/dist/loadI18next.js.map +0 -1
- package/dist/process.d.ts.map +0 -1
- package/dist/process.js.map +0 -1
- package/dist/requestLanguageDetector.d.ts.map +0 -1
- package/dist/requestLanguageDetector.js.map +0 -1
- package/dist/serverTranslationKeys.d.ts.map +0 -1
- package/dist/serverTranslationKeys.js.map +0 -1
- package/dist/tests/browserBundle.unit.test.d.ts.map +0 -1
- package/dist/tests/browserBundle.unit.test.js.map +0 -1
- package/dist/tests/browserUiLanguages.unit.test.d.ts.map +0 -1
- package/dist/tests/browserUiLanguages.unit.test.js.map +0 -1
- package/dist/tests/catalogues.test-d.d.ts.map +0 -1
- package/dist/tests/catalogues.test-d.js.map +0 -1
- package/dist/tests/direction.unit.test.d.ts.map +0 -1
- package/dist/tests/direction.unit.test.js.map +0 -1
- package/dist/tests/errorMessage.unit.test.d.ts.map +0 -1
- package/dist/tests/errorMessage.unit.test.js.map +0 -1
- package/dist/tests/i18SharedOptions.unit.test.d.ts.map +0 -1
- package/dist/tests/i18SharedOptions.unit.test.js.map +0 -1
- package/dist/tests/i18nBackend.unit.test.d.ts.map +0 -1
- package/dist/tests/i18nBackend.unit.test.js +0 -232
- package/dist/tests/i18nBackend.unit.test.js.map +0 -1
- package/dist/tests/i18nBackendFiles.unit.test.d.ts.map +0 -1
- package/dist/tests/i18nBackendFiles.unit.test.js.map +0 -1
- package/dist/tests/i18nFrontend.unit.test.d.ts.map +0 -1
- package/dist/tests/i18nFrontend.unit.test.js.map +0 -1
- package/dist/tests/i18nMiddleware.unit.test.d.ts.map +0 -1
- package/dist/tests/i18nMiddleware.unit.test.js.map +0 -1
- package/dist/tests/keptAsIs.d.ts.map +0 -1
- package/dist/tests/keptAsIs.js.map +0 -1
- package/dist/tests/languagePreference.unit.test.d.ts.map +0 -1
- package/dist/tests/languagePreference.unit.test.js.map +0 -1
- package/dist/tests/loadI18next.unit.test.d.ts.map +0 -1
- package/dist/tests/loadI18next.unit.test.js.map +0 -1
- package/dist/tests/locale.test-d.d.ts.map +0 -1
- package/dist/tests/locale.test-d.js.map +0 -1
- package/dist/tests/localePlaceholders.unit.test.d.ts.map +0 -1
- package/dist/tests/localePlaceholders.unit.test.js.map +0 -1
- package/dist/tests/locales.unit.test.d.ts.map +0 -1
- package/dist/tests/locales.unit.test.js.map +0 -1
- package/dist/tests/process.unit.test.d.ts.map +0 -1
- package/dist/tests/process.unit.test.js.map +0 -1
- package/dist/tests/requestLanguageDetector.unit.test.d.ts.map +0 -1
- package/dist/tests/requestLanguageDetector.unit.test.js.map +0 -1
- package/dist/tests/resultReasonKeys.unit.test.d.ts.map +0 -1
- package/dist/tests/resultReasonKeys.unit.test.js.map +0 -1
- package/dist/tests/translationKey.unit.test.d.ts.map +0 -1
- package/dist/tests/translationKey.unit.test.js.map +0 -1
- package/dist/tests/translations.unit.test.d.ts.map +0 -1
- package/dist/tests/translations.unit.test.js.map +0 -1
- package/dist/tests/translator.unit.test.d.ts.map +0 -1
- package/dist/tests/translator.unit.test.js.map +0 -1
- package/dist/tests/untranslatedI18n.unit.test.d.ts.map +0 -1
- package/dist/tests/untranslatedI18n.unit.test.js.map +0 -1
- package/dist/tests/util.unit.test.d.ts.map +0 -1
- package/dist/tests/util.unit.test.js.map +0 -1
- package/dist/translationKey.d.ts.map +0 -1
- package/dist/translationKey.js.map +0 -1
- package/dist/translations.d.ts.map +0 -1
- package/dist/translations.js.map +0 -1
- package/dist/translator.d.ts.map +0 -1
- package/dist/translator.js.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/untranslatedI18n.d.ts.map +0 -1
- package/dist/untranslatedI18n.js.map +0 -1
- package/dist/util.d.ts.map +0 -1
- package/dist/util.js.map +0 -1
- package/turbo.json +0 -8
- /package/dist/{locales → cjs/locales}/af/target.json +0 -0
- /package/dist/{locales → cjs/locales}/af/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/af/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/am/target.json +0 -0
- /package/dist/{locales → cjs/locales}/am/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/am/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/an/target.json +0 -0
- /package/dist/{locales → cjs/locales}/an/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/an/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ar/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ar/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ar/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/as/target.json +0 -0
- /package/dist/{locales → cjs/locales}/as/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/as/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ast/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ast/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ast/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/az/target.json +0 -0
- /package/dist/{locales → cjs/locales}/az/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/az/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/be/target.json +0 -0
- /package/dist/{locales → cjs/locales}/be/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/be/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/bg/target.json +0 -0
- /package/dist/{locales → cjs/locales}/bg/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/bg/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/bn/target.json +0 -0
- /package/dist/{locales → cjs/locales}/bn/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/bn/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/bs/target.json +0 -0
- /package/dist/{locales → cjs/locales}/bs/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/bs/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ca/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ca/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ca/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/cs/target.json +0 -0
- /package/dist/{locales → cjs/locales}/cs/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/cs/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/cy/target.json +0 -0
- /package/dist/{locales → cjs/locales}/cy/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/cy/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/da/target.json +0 -0
- /package/dist/{locales → cjs/locales}/da/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/da/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/de/target.json +0 -0
- /package/dist/{locales → cjs/locales}/de/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/de/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/el/target.json +0 -0
- /package/dist/{locales → cjs/locales}/el/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/el/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/en/target.json +0 -0
- /package/dist/{locales → cjs/locales}/en/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/en/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/en-GB/target.json +0 -0
- /package/dist/{locales → cjs/locales}/en-GB/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/en-GB/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/eo/target.json +0 -0
- /package/dist/{locales → cjs/locales}/eo/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/eo/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/es/target.json +0 -0
- /package/dist/{locales → cjs/locales}/es/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/es/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/et/target.json +0 -0
- /package/dist/{locales → cjs/locales}/et/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/et/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/eu/target.json +0 -0
- /package/dist/{locales → cjs/locales}/eu/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/eu/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/fa/target.json +0 -0
- /package/dist/{locales → cjs/locales}/fa/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/fa/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/fi/target.json +0 -0
- /package/dist/{locales → cjs/locales}/fi/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/fi/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/fil/target.json +0 -0
- /package/dist/{locales → cjs/locales}/fil/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/fil/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/fr/target.json +0 -0
- /package/dist/{locales → cjs/locales}/fr/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/fr/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/fy/target.json +0 -0
- /package/dist/{locales → cjs/locales}/fy/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/fy/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ga/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ga/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ga/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/gd/target.json +0 -0
- /package/dist/{locales → cjs/locales}/gd/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/gd/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/gl/target.json +0 -0
- /package/dist/{locales → cjs/locales}/gl/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/gl/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/gu/target.json +0 -0
- /package/dist/{locales → cjs/locales}/gu/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/gu/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/he/target.json +0 -0
- /package/dist/{locales → cjs/locales}/he/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/he/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/hi/target.json +0 -0
- /package/dist/{locales → cjs/locales}/hi/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/hi/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/hr/target.json +0 -0
- /package/dist/{locales → cjs/locales}/hr/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/hr/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/hu/target.json +0 -0
- /package/dist/{locales → cjs/locales}/hu/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/hu/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/hy/target.json +0 -0
- /package/dist/{locales → cjs/locales}/hy/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/hy/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ia/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ia/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ia/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/id/target.json +0 -0
- /package/dist/{locales → cjs/locales}/id/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/id/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/is/target.json +0 -0
- /package/dist/{locales → cjs/locales}/is/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/is/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/it/target.json +0 -0
- /package/dist/{locales → cjs/locales}/it/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/it/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ja/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ja/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ja/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/jv/target.json +0 -0
- /package/dist/{locales → cjs/locales}/jv/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/jv/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ka/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ka/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ka/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/kk/target.json +0 -0
- /package/dist/{locales → cjs/locales}/kk/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/kk/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/km/target.json +0 -0
- /package/dist/{locales → cjs/locales}/km/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/km/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/kn/target.json +0 -0
- /package/dist/{locales → cjs/locales}/kn/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/kn/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ko/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ko/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ko/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ky/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ky/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ky/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/lo/target.json +0 -0
- /package/dist/{locales → cjs/locales}/lo/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/lo/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/lt/target.json +0 -0
- /package/dist/{locales → cjs/locales}/lt/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/lt/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/lv/target.json +0 -0
- /package/dist/{locales → cjs/locales}/lv/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/lv/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/mk/target.json +0 -0
- /package/dist/{locales → cjs/locales}/mk/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/mk/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ml/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ml/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ml/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/mn/target.json +0 -0
- /package/dist/{locales → cjs/locales}/mn/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/mn/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/mr/target.json +0 -0
- /package/dist/{locales → cjs/locales}/mr/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/mr/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ms/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ms/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ms/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/my/target.json +0 -0
- /package/dist/{locales → cjs/locales}/my/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/my/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ne/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ne/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ne/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/nl/target.json +0 -0
- /package/dist/{locales → cjs/locales}/nl/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/nl/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/nn/target.json +0 -0
- /package/dist/{locales → cjs/locales}/nn/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/nn/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/no/target.json +0 -0
- /package/dist/{locales → cjs/locales}/no/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/no/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/oc/target.json +0 -0
- /package/dist/{locales → cjs/locales}/oc/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/oc/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/or/target.json +0 -0
- /package/dist/{locales → cjs/locales}/or/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/or/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/pa/target.json +0 -0
- /package/dist/{locales → cjs/locales}/pa/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/pa/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/pl/target.json +0 -0
- /package/dist/{locales → cjs/locales}/pl/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/pl/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/pt/target.json +0 -0
- /package/dist/{locales → cjs/locales}/pt/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/pt/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/pt-BR/target.json +0 -0
- /package/dist/{locales → cjs/locales}/pt-BR/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/pt-BR/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/rm/target.json +0 -0
- /package/dist/{locales → cjs/locales}/rm/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/rm/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ro/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ro/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ro/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ru/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ru/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ru/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sco/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sco/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sco/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/si/target.json +0 -0
- /package/dist/{locales → cjs/locales}/si/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/si/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sk/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sk/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sk/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sl/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sl/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sl/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sq/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sq/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sq/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sr/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sr/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sr/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sv/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sv/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sv/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/sw/target.json +0 -0
- /package/dist/{locales → cjs/locales}/sw/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/sw/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ta/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ta/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ta/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/te/target.json +0 -0
- /package/dist/{locales → cjs/locales}/te/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/te/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/tg/target.json +0 -0
- /package/dist/{locales → cjs/locales}/tg/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/tg/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/th/target.json +0 -0
- /package/dist/{locales → cjs/locales}/th/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/th/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/tr/target.json +0 -0
- /package/dist/{locales → cjs/locales}/tr/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/tr/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/uk/target.json +0 -0
- /package/dist/{locales → cjs/locales}/uk/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/uk/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/ur/target.json +0 -0
- /package/dist/{locales → cjs/locales}/ur/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/ur/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/uz/target.json +0 -0
- /package/dist/{locales → cjs/locales}/uz/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/uz/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/vi/target.json +0 -0
- /package/dist/{locales → cjs/locales}/vi/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/vi/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/xh/target.json +0 -0
- /package/dist/{locales → cjs/locales}/xh/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/xh/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/zh/target.json +0 -0
- /package/dist/{locales → cjs/locales}/zh/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/zh/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-CN/target.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-CN/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-CN/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-HK/target.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-HK/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-HK/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-TW/target.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-TW/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/zh-TW/widget.json +0 -0
- /package/dist/{locales → cjs/locales}/zu/target.json +0 -0
- /package/dist/{locales → cjs/locales}/zu/translation.json +0 -0
- /package/dist/{locales → cjs/locales}/zu/widget.json +0 -0
- /package/dist/{_virtual → esm/_virtual}/_rolldown/runtime.js +0 -0
- /package/dist/{browserUiLanguages.js → esm/browserUiLanguages.js} +0 -0
- /package/dist/{direction.js → esm/direction.js} +0 -0
- /package/dist/{errorMessage.js → esm/errorMessage.js} +0 -0
- /package/dist/{i18SharedOptions.js → esm/i18SharedOptions.js} +0 -0
- /package/dist/{i18nFrontend.js → esm/i18nFrontend.js} +0 -0
- /package/dist/{i18nMiddleware.js → esm/i18nMiddleware.js} +0 -0
- /package/dist/{index.js → esm/index.js} +0 -0
- /package/dist/{languagePreference.js → esm/languagePreference.js} +0 -0
- /package/dist/{loadI18next.js → esm/loadI18next.js} +0 -0
- /package/dist/{locales → esm/locales}/en/target.js +0 -0
- /package/dist/{locales → esm/locales}/en/translation.js +0 -0
- /package/dist/{locales → esm/locales}/en/widget.js +0 -0
- /package/dist/{process.js → esm/process.js} +0 -0
- /package/dist/{requestLanguageDetector.js → esm/requestLanguageDetector.js} +0 -0
- /package/dist/{serverTranslationKeys.js → esm/serverTranslationKeys.js} +0 -0
- /package/dist/{translationKey.js → esm/translationKey.js} +0 -0
- /package/dist/{translations.js → esm/translations.js} +0 -0
- /package/dist/{translator.js → esm/translator.js} +0 -0
- /package/dist/{untranslatedI18n.js → esm/untranslatedI18n.js} +0 -0
- /package/dist/{util.js → esm/util.js} +0 -0
- /package/dist/{browserUiLanguages.d.ts → tsc/browserUiLanguages.d.ts} +0 -0
- /package/dist/{direction.d.ts → tsc/direction.d.ts} +0 -0
- /package/dist/{errorMessage.d.ts → tsc/errorMessage.d.ts} +0 -0
- /package/dist/{i18SharedOptions.d.ts → tsc/i18SharedOptions.d.ts} +0 -0
- /package/dist/{i18nFrontend.d.ts → tsc/i18nFrontend.d.ts} +0 -0
- /package/dist/{i18nMiddleware.d.ts → tsc/i18nMiddleware.d.ts} +0 -0
- /package/dist/{index.d.ts → tsc/index.d.ts} +0 -0
- /package/dist/{languagePreference.d.ts → tsc/languagePreference.d.ts} +0 -0
- /package/dist/{loadI18next.d.ts → tsc/loadI18next.d.ts} +0 -0
- /package/dist/{process.d.ts → tsc/process.d.ts} +0 -0
- /package/dist/{requestLanguageDetector.d.ts → tsc/requestLanguageDetector.d.ts} +0 -0
- /package/dist/{serverTranslationKeys.d.ts → tsc/serverTranslationKeys.d.ts} +0 -0
- /package/dist/{tests → tsc/tests}/browserBundle.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/browserBundle.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/browserUiLanguages.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/browserUiLanguages.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/catalogues.test-d.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/catalogues.test-d.js +0 -0
- /package/dist/{tests → tsc/tests}/direction.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/direction.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/errorMessage.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/errorMessage.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/i18SharedOptions.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/i18SharedOptions.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/i18nBackend.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/i18nBackendFiles.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/i18nBackendFiles.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/i18nFrontend.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/i18nFrontend.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/i18nMiddleware.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/i18nMiddleware.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/keptAsIs.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/keptAsIs.js +0 -0
- /package/dist/{tests → tsc/tests}/languagePreference.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/languagePreference.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/loadI18next.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/loadI18next.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/locale.test-d.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/locale.test-d.js +0 -0
- /package/dist/{tests → tsc/tests}/localePlaceholders.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/localePlaceholders.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/locales.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/locales.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/process.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/process.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/requestLanguageDetector.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/requestLanguageDetector.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/resultReasonKeys.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/resultReasonKeys.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/translationKey.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/translationKey.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/translations.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/translations.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/translator.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/translator.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/untranslatedI18n.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/untranslatedI18n.unit.test.js +0 -0
- /package/dist/{tests → tsc/tests}/util.unit.test.d.ts +0 -0
- /package/dist/{tests → tsc/tests}/util.unit.test.js +0 -0
- /package/dist/{translationKey.d.ts → tsc/translationKey.d.ts} +0 -0
- /package/dist/{translations.d.ts → tsc/translations.d.ts} +0 -0
- /package/dist/{translator.d.ts → tsc/translator.d.ts} +0 -0
- /package/dist/{types.d.ts → tsc/types.d.ts} +0 -0
- /package/dist/{types.js → tsc/types.js} +0 -0
- /package/dist/{untranslatedI18n.d.ts → tsc/untranslatedI18n.d.ts} +0 -0
- /package/dist/{util.d.ts → tsc/util.d.ts} +0 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
const both = ["chrome", "firefox"];
|
|
2
|
+
const chrome = ["chrome"];
|
|
3
|
+
const firefox = ["firefox"];
|
|
4
|
+
export const BROWSER_UI_LANGUAGES = [
|
|
5
|
+
{ tag: "ach", name: "Acholi", direction: "ltr", browsers: firefox },
|
|
6
|
+
{ tag: "af", name: "Afrikaans", direction: "ltr", browsers: both },
|
|
7
|
+
{ tag: "am", name: "Amharic", direction: "ltr", browsers: chrome },
|
|
8
|
+
{ tag: "an", name: "Aragonese", direction: "ltr", browsers: firefox },
|
|
9
|
+
{ tag: "ar", name: "Arabic", direction: "rtl", browsers: both },
|
|
10
|
+
{ tag: "as", name: "Assamese", direction: "ltr", browsers: chrome },
|
|
11
|
+
{ tag: "ast", name: "Asturian", direction: "ltr", browsers: firefox },
|
|
12
|
+
{ tag: "az", name: "Azerbaijani", direction: "ltr", browsers: both },
|
|
13
|
+
{ tag: "be", name: "Belarusian", direction: "ltr", browsers: both },
|
|
14
|
+
{ tag: "bg", name: "Bulgarian", direction: "ltr", browsers: both },
|
|
15
|
+
{ tag: "bn", name: "Bengali", direction: "ltr", browsers: both },
|
|
16
|
+
{ tag: "br", name: "Breton", direction: "ltr", browsers: firefox },
|
|
17
|
+
{ tag: "bs", name: "Bosnian", direction: "ltr", browsers: both },
|
|
18
|
+
{ tag: "ca", name: "Catalan", direction: "ltr", browsers: both },
|
|
19
|
+
{
|
|
20
|
+
tag: "ca-valencia",
|
|
21
|
+
name: "Valencian",
|
|
22
|
+
direction: "ltr",
|
|
23
|
+
browsers: firefox,
|
|
24
|
+
},
|
|
25
|
+
{ tag: "cak", name: "Kaqchikel", direction: "ltr", browsers: firefox },
|
|
26
|
+
{ tag: "cs", name: "Czech", direction: "ltr", browsers: both },
|
|
27
|
+
{ tag: "cy", name: "Welsh", direction: "ltr", browsers: both },
|
|
28
|
+
{ tag: "da", name: "Danish", direction: "ltr", browsers: both },
|
|
29
|
+
{ tag: "de", name: "German", direction: "ltr", browsers: both },
|
|
30
|
+
{ tag: "dsb", name: "Lower Sorbian", direction: "ltr", browsers: firefox },
|
|
31
|
+
{ tag: "el", name: "Greek", direction: "ltr", browsers: both },
|
|
32
|
+
{
|
|
33
|
+
tag: "en-CA",
|
|
34
|
+
name: "English (Canada)",
|
|
35
|
+
direction: "ltr",
|
|
36
|
+
browsers: firefox,
|
|
37
|
+
},
|
|
38
|
+
{ tag: "en-GB", name: "English (UK)", direction: "ltr", browsers: both },
|
|
39
|
+
{ tag: "en-US", name: "English (US)", direction: "ltr", browsers: both },
|
|
40
|
+
{ tag: "eo", name: "Esperanto", direction: "ltr", browsers: firefox },
|
|
41
|
+
{ tag: "es", name: "Spanish", direction: "ltr", browsers: chrome },
|
|
42
|
+
{
|
|
43
|
+
tag: "es-419",
|
|
44
|
+
name: "Spanish (Latin America)",
|
|
45
|
+
direction: "ltr",
|
|
46
|
+
browsers: chrome,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
tag: "es-AR",
|
|
50
|
+
name: "Spanish (Argentina)",
|
|
51
|
+
direction: "ltr",
|
|
52
|
+
browsers: firefox,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
tag: "es-CL",
|
|
56
|
+
name: "Spanish (Chile)",
|
|
57
|
+
direction: "ltr",
|
|
58
|
+
browsers: firefox,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
tag: "es-ES",
|
|
62
|
+
name: "Spanish (Spain)",
|
|
63
|
+
direction: "ltr",
|
|
64
|
+
browsers: firefox,
|
|
65
|
+
},
|
|
66
|
+
{ tag: "es-MX", name: "Spanish (Mexico)", direction: "ltr", browsers: both },
|
|
67
|
+
{ tag: "es-US", name: "Spanish (US)", direction: "ltr", browsers: chrome },
|
|
68
|
+
{ tag: "et", name: "Estonian", direction: "ltr", browsers: both },
|
|
69
|
+
{ tag: "eu", name: "Basque", direction: "ltr", browsers: both },
|
|
70
|
+
{ tag: "fa", name: "Persian", direction: "rtl", browsers: both },
|
|
71
|
+
{ tag: "ff", name: "Fulah", direction: "ltr", browsers: firefox },
|
|
72
|
+
{ tag: "fi", name: "Finnish", direction: "ltr", browsers: both },
|
|
73
|
+
{ tag: "fil", name: "Filipino", direction: "ltr", browsers: both },
|
|
74
|
+
{ tag: "fr", name: "French", direction: "ltr", browsers: both },
|
|
75
|
+
{ tag: "fr-CA", name: "French (Canada)", direction: "ltr", browsers: chrome },
|
|
76
|
+
{ tag: "fur", name: "Friulian", direction: "ltr", browsers: firefox },
|
|
77
|
+
{
|
|
78
|
+
tag: "fy-NL",
|
|
79
|
+
name: "Western Frisian",
|
|
80
|
+
direction: "ltr",
|
|
81
|
+
browsers: firefox,
|
|
82
|
+
},
|
|
83
|
+
{ tag: "ga-IE", name: "Irish", direction: "ltr", browsers: firefox },
|
|
84
|
+
{ tag: "gd", name: "Scottish Gaelic", direction: "ltr", browsers: firefox },
|
|
85
|
+
{ tag: "gl", name: "Galician", direction: "ltr", browsers: both },
|
|
86
|
+
{ tag: "gn", name: "Guarani", direction: "ltr", browsers: firefox },
|
|
87
|
+
{ tag: "gu", name: "Gujarati", direction: "ltr", browsers: chrome },
|
|
88
|
+
{
|
|
89
|
+
tag: "gu-IN",
|
|
90
|
+
name: "Gujarati (India)",
|
|
91
|
+
direction: "ltr",
|
|
92
|
+
browsers: firefox,
|
|
93
|
+
},
|
|
94
|
+
{ tag: "he", name: "Hebrew", direction: "rtl", browsers: both },
|
|
95
|
+
{ tag: "hi", name: "Hindi", direction: "ltr", browsers: chrome },
|
|
96
|
+
{ tag: "hi-IN", name: "Hindi (India)", direction: "ltr", browsers: firefox },
|
|
97
|
+
{ tag: "hr", name: "Croatian", direction: "ltr", browsers: both },
|
|
98
|
+
{ tag: "hsb", name: "Upper Sorbian", direction: "ltr", browsers: firefox },
|
|
99
|
+
{ tag: "hu", name: "Hungarian", direction: "ltr", browsers: both },
|
|
100
|
+
{ tag: "hy", name: "Armenian", direction: "ltr", browsers: chrome },
|
|
101
|
+
{
|
|
102
|
+
tag: "hy-AM",
|
|
103
|
+
name: "Armenian (Armenia)",
|
|
104
|
+
direction: "ltr",
|
|
105
|
+
browsers: firefox,
|
|
106
|
+
},
|
|
107
|
+
{ tag: "ia", name: "Interlingua", direction: "ltr", browsers: firefox },
|
|
108
|
+
{ tag: "id", name: "Indonesian", direction: "ltr", browsers: both },
|
|
109
|
+
{ tag: "is", name: "Icelandic", direction: "ltr", browsers: both },
|
|
110
|
+
{ tag: "it", name: "Italian", direction: "ltr", browsers: both },
|
|
111
|
+
{ tag: "ja", name: "Japanese", direction: "ltr", browsers: both },
|
|
112
|
+
{ tag: "ka", name: "Georgian", direction: "ltr", browsers: both },
|
|
113
|
+
{ tag: "kab", name: "Kabyle", direction: "ltr", browsers: firefox },
|
|
114
|
+
{ tag: "kk", name: "Kazakh", direction: "ltr", browsers: both },
|
|
115
|
+
{ tag: "km", name: "Khmer", direction: "ltr", browsers: both },
|
|
116
|
+
{ tag: "kn", name: "Kannada", direction: "ltr", browsers: both },
|
|
117
|
+
{ tag: "ko", name: "Korean", direction: "ltr", browsers: both },
|
|
118
|
+
{ tag: "ky", name: "Kyrgyz", direction: "ltr", browsers: chrome },
|
|
119
|
+
{ tag: "lij", name: "Ligurian", direction: "ltr", browsers: firefox },
|
|
120
|
+
{ tag: "lo", name: "Lao", direction: "ltr", browsers: chrome },
|
|
121
|
+
{ tag: "lt", name: "Lithuanian", direction: "ltr", browsers: both },
|
|
122
|
+
{ tag: "lv", name: "Latvian", direction: "ltr", browsers: both },
|
|
123
|
+
{ tag: "mk", name: "Macedonian", direction: "ltr", browsers: both },
|
|
124
|
+
{ tag: "ml", name: "Malayalam", direction: "ltr", browsers: chrome },
|
|
125
|
+
{ tag: "mn", name: "Mongolian", direction: "ltr", browsers: chrome },
|
|
126
|
+
{ tag: "mr", name: "Marathi", direction: "ltr", browsers: both },
|
|
127
|
+
{ tag: "ms", name: "Malay", direction: "ltr", browsers: both },
|
|
128
|
+
{ tag: "my", name: "Burmese", direction: "ltr", browsers: both },
|
|
129
|
+
{ tag: "nb", name: "Norwegian Bokmål", direction: "ltr", browsers: chrome },
|
|
130
|
+
{
|
|
131
|
+
tag: "nb-NO",
|
|
132
|
+
name: "Norwegian Bokmål (Norway)",
|
|
133
|
+
direction: "ltr",
|
|
134
|
+
browsers: firefox,
|
|
135
|
+
},
|
|
136
|
+
{ tag: "ne", name: "Nepali", direction: "ltr", browsers: chrome },
|
|
137
|
+
{ tag: "ne-NP", name: "Nepali (Nepal)", direction: "ltr", browsers: firefox },
|
|
138
|
+
{ tag: "nl", name: "Dutch", direction: "ltr", browsers: both },
|
|
139
|
+
{
|
|
140
|
+
tag: "nn-NO",
|
|
141
|
+
name: "Norwegian Nynorsk (Norway)",
|
|
142
|
+
direction: "ltr",
|
|
143
|
+
browsers: firefox,
|
|
144
|
+
},
|
|
145
|
+
{ tag: "oc", name: "Occitan", direction: "ltr", browsers: firefox },
|
|
146
|
+
{ tag: "or", name: "Odia", direction: "ltr", browsers: chrome },
|
|
147
|
+
{ tag: "pa", name: "Punjabi", direction: "ltr", browsers: chrome },
|
|
148
|
+
{
|
|
149
|
+
tag: "pa-IN",
|
|
150
|
+
name: "Punjabi (India)",
|
|
151
|
+
direction: "ltr",
|
|
152
|
+
browsers: firefox,
|
|
153
|
+
},
|
|
154
|
+
{ tag: "pl", name: "Polish", direction: "ltr", browsers: both },
|
|
155
|
+
{
|
|
156
|
+
tag: "pt-BR",
|
|
157
|
+
name: "Portuguese (Brazil)",
|
|
158
|
+
direction: "ltr",
|
|
159
|
+
browsers: both,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
tag: "pt-PT",
|
|
163
|
+
name: "Portuguese (Portugal)",
|
|
164
|
+
direction: "ltr",
|
|
165
|
+
browsers: both,
|
|
166
|
+
},
|
|
167
|
+
{ tag: "rm", name: "Romansh", direction: "ltr", browsers: firefox },
|
|
168
|
+
{ tag: "ro", name: "Romanian", direction: "ltr", browsers: both },
|
|
169
|
+
{ tag: "ru", name: "Russian", direction: "ltr", browsers: both },
|
|
170
|
+
{ tag: "sat", name: "Santali", direction: "ltr", browsers: firefox },
|
|
171
|
+
{ tag: "sc", name: "Sardinian", direction: "ltr", browsers: firefox },
|
|
172
|
+
{ tag: "sco", name: "Scots", direction: "ltr", browsers: firefox },
|
|
173
|
+
{ tag: "si", name: "Sinhala", direction: "ltr", browsers: both },
|
|
174
|
+
{ tag: "sk", name: "Slovak", direction: "ltr", browsers: both },
|
|
175
|
+
{ tag: "skr", name: "Saraiki", direction: "rtl", browsers: firefox },
|
|
176
|
+
{ tag: "sl", name: "Slovenian", direction: "ltr", browsers: both },
|
|
177
|
+
{ tag: "son", name: "Songhay", direction: "ltr", browsers: firefox },
|
|
178
|
+
{ tag: "sq", name: "Albanian", direction: "ltr", browsers: both },
|
|
179
|
+
{ tag: "sr", name: "Serbian", direction: "ltr", browsers: both },
|
|
180
|
+
{
|
|
181
|
+
tag: "sr-Latn",
|
|
182
|
+
name: "Serbian (Latin)",
|
|
183
|
+
direction: "ltr",
|
|
184
|
+
browsers: chrome,
|
|
185
|
+
},
|
|
186
|
+
{ tag: "sv", name: "Swedish", direction: "ltr", browsers: chrome },
|
|
187
|
+
{
|
|
188
|
+
tag: "sv-SE",
|
|
189
|
+
name: "Swedish (Sweden)",
|
|
190
|
+
direction: "ltr",
|
|
191
|
+
browsers: firefox,
|
|
192
|
+
},
|
|
193
|
+
{ tag: "sw", name: "Swahili", direction: "ltr", browsers: chrome },
|
|
194
|
+
{ tag: "szl", name: "Silesian", direction: "ltr", browsers: firefox },
|
|
195
|
+
{ tag: "ta", name: "Tamil", direction: "ltr", browsers: both },
|
|
196
|
+
{ tag: "te", name: "Telugu", direction: "ltr", browsers: both },
|
|
197
|
+
{ tag: "tg", name: "Tajik", direction: "ltr", browsers: firefox },
|
|
198
|
+
{ tag: "th", name: "Thai", direction: "ltr", browsers: both },
|
|
199
|
+
{ tag: "tr", name: "Turkish", direction: "ltr", browsers: both },
|
|
200
|
+
{
|
|
201
|
+
tag: "trs",
|
|
202
|
+
name: "Chicahuaxtla Triqui",
|
|
203
|
+
direction: "ltr",
|
|
204
|
+
browsers: firefox,
|
|
205
|
+
},
|
|
206
|
+
{ tag: "uk", name: "Ukrainian", direction: "ltr", browsers: both },
|
|
207
|
+
{ tag: "ur", name: "Urdu", direction: "rtl", browsers: both },
|
|
208
|
+
{ tag: "uz", name: "Uzbek", direction: "ltr", browsers: both },
|
|
209
|
+
{ tag: "vi", name: "Vietnamese", direction: "ltr", browsers: both },
|
|
210
|
+
{ tag: "xh", name: "Xhosa", direction: "ltr", browsers: firefox },
|
|
211
|
+
{
|
|
212
|
+
tag: "zh-CN",
|
|
213
|
+
name: "Chinese (Simplified)",
|
|
214
|
+
direction: "ltr",
|
|
215
|
+
browsers: both,
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
tag: "zh-HK",
|
|
219
|
+
name: "Chinese (Hong Kong)",
|
|
220
|
+
direction: "ltr",
|
|
221
|
+
browsers: chrome,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
tag: "zh-TW",
|
|
225
|
+
name: "Chinese (Traditional)",
|
|
226
|
+
direction: "ltr",
|
|
227
|
+
browsers: both,
|
|
228
|
+
},
|
|
229
|
+
{ tag: "zu", name: "Zulu", direction: "ltr", browsers: chrome },
|
|
230
|
+
];
|
|
231
|
+
//# sourceMappingURL=browserUiLanguages.js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IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE;IACjE;QACC,GAAG,EAAE,OAAO;QACZ,IAAI,EAAE,sBAAsB;QAC5B,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;KACd;IACD;QACC,GAAG,EAAE,OAAO;QACZ,IAAI,EAAE,qBAAqB;QAC3B,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,MAAM;KAChB;IACD;QACC,GAAG,EAAE,OAAO;QACZ,IAAI,EAAE,uBAAuB;QAC7B,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;KACd;IACD,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE;CAC/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../../src/direction.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,CAAC;AAmG1C,eAAO,MAAM,oBAAoB,aAAc,MAAM,KAAG,aACO,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const words = (list) => new Set(list.split(" "));
|
|
2
|
+
const RTL_SCRIPTS = words("adlm arab armi avst chrs cprt elym gara hatr hebr hung khar lydi " +
|
|
3
|
+
"mand mani mend merc mero narb nbat nkoo orkh ougr palm phli phlp " +
|
|
4
|
+
"phnx prti rohg samr sarb sidt sogd sogo syrc thaa yezi");
|
|
5
|
+
const RTL_LANGUAGES = words("aao abh abv acm acq acw acx adf ae aeb aec aee aeq afb aib aii aij " +
|
|
6
|
+
"aiq ajp ajt aju amw apc apd ar ara arb arc arq ars ary arz ask atn " +
|
|
7
|
+
"auj auz avd ave avl ayh ayl ayn ayp azb bal bcc bdz bej bft bgn " +
|
|
8
|
+
"bgp bhe bhm bhn bjf bjm bqi brh brk bsh bsk chg cja ckb cld clh " +
|
|
9
|
+
"czk dcc def deh dgl div dmk dml drw dv ecy esh fa fas fay faz fia " +
|
|
10
|
+
"fub gbz ggg gha ghr gig gjk gju glh glk grr gwc gwf gwt gzi hac " +
|
|
11
|
+
"haz hbo he heb hkh hnd hno hoh hrt hrz hss huy isk itk iw jad jat " +
|
|
12
|
+
"jbe jbn jdg ji jnd jog jpa jpr jrb jye kas kbu kby kcy kfm khw klj " +
|
|
13
|
+
"kmz kqd ks ktl kvx kxp kzh lad lah lhs lki lrc lrk lrl lsa lsd lss " +
|
|
14
|
+
"luv luz mby mde mey mfa mfi mhj mid mki mnj mve mvy myz mzb mzn " +
|
|
15
|
+
"nli nlm nqo ntz nyq oar obm odk oru ota otk oui pal pbt pbu per " +
|
|
16
|
+
"pes pgd phl phn phr phv plk pmu pnb prc prd prs prx ps psh psi pst " +
|
|
17
|
+
"pus qxq rdb rhg rmt sam sbn scl sd sdb sdf sdg sdh sds sgl sgr sgy " +
|
|
18
|
+
"shd shm shu shv siy siz skr smp smy snd sog sqo sqt srh srz ssh " +
|
|
19
|
+
"sts swb syc syn syr tjo tks tmr tnf tov tra trg trm trw ug uig ur " +
|
|
20
|
+
"urd ush uzs vaf vgr vmh wbk wlo wne wni wsv xco xhe xka xkc xkj " +
|
|
21
|
+
"xkp xld xly xmn xmr xna xpr xsa xsd xvi ydd ydg yhd yi yid yih yud " +
|
|
22
|
+
"zba zdj zrp zum");
|
|
23
|
+
const RTL_LANGUAGE_REGIONS = words("az-iq az-ir ha-cm ha-sd kk-af kk-cn kk-ir kk-mn ku-iq ku-ir ku-lb " +
|
|
24
|
+
"ky-cn ms-cc pa-pk tg-pk uz-af");
|
|
25
|
+
const isRtlByIntl = (tag) => {
|
|
26
|
+
try {
|
|
27
|
+
const locale = new Intl.Locale(tag);
|
|
28
|
+
const info = typeof locale.getTextInfo === "function"
|
|
29
|
+
? locale.getTextInfo()
|
|
30
|
+
: locale.textInfo;
|
|
31
|
+
return info?.direction === "rtl";
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const SCRIPT_SUBTAG = /^[a-z]{4}$/;
|
|
38
|
+
const REGION_SUBTAG = /^([a-z]{2}|[0-9]{3})$/;
|
|
39
|
+
const isRtlByList = (tag) => {
|
|
40
|
+
const [language = "", ...subtags] = tag.toLowerCase().split(/[-_]/);
|
|
41
|
+
const extensionStart = subtags.findIndex((subtag) => subtag.length === 1);
|
|
42
|
+
const own = extensionStart === -1 ? subtags : subtags.slice(0, extensionStart);
|
|
43
|
+
const script = own.find((subtag) => SCRIPT_SUBTAG.test(subtag));
|
|
44
|
+
if (script) {
|
|
45
|
+
return RTL_SCRIPTS.has(script);
|
|
46
|
+
}
|
|
47
|
+
const region = own.find((subtag) => REGION_SUBTAG.test(subtag));
|
|
48
|
+
return (RTL_LANGUAGES.has(language) ||
|
|
49
|
+
(region !== undefined && RTL_LANGUAGE_REGIONS.has(`${language}-${region}`)));
|
|
50
|
+
};
|
|
51
|
+
export const getLanguageDirection = (language) => isRtlByList(language) || isRtlByIntl(language) ? "rtl" : "ltr";
|
|
52
|
+
//# sourceMappingURL=direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direction.js","sourceRoot":"","sources":["../../src/direction.ts"],"names":[],"mappings":"AAsBA,MAAM,KAAK,GAAG,CAAC,IAAY,EAAuB,EAAE,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAE9E,MAAM,WAAW,GAAG,KAAK,CACxB,mEAAmE;IAClE,mEAAmE;IACnE,wDAAwD,CACzD,CAAC;AAKF,MAAM,aAAa,GAAG,KAAK,CAC1B,qEAAqE;IACpE,qEAAqE;IACrE,kEAAkE;IAClE,kEAAkE;IAClE,oEAAoE;IACpE,kEAAkE;IAClE,oEAAoE;IACpE,qEAAqE;IACrE,qEAAqE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AC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACxE,IAAI,MAAM,EAAE,CAAC;QACZ,OAAO,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACD,MAAM,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,MAAc,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACxE,OAAO,CACN,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC3B,CAAC,MAAM,KAAK,SAAS,IAAI,oBAAoB,CAAC,GAAG,CAAC,GAAG,QAAQ,IAAI,MAAM,EAAE,CAAC,CAAC,CAC3E,CAAC;AACH,CAAC,CAAC;AASF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,QAAgB,EAAiB,EAAE,CACvE,WAAW,CAAC,QAAQ,CAAC,IAAI,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorMessage.d.ts","sourceRoot":"","sources":["../../src/errorMessage.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGxC,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAQ1D,eAAO,MAAM,aAAa,SACnB,KAAK,GAAG,SAAS,SAChB,cAAc,KACnB,MAQF,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { isWidgetTranslationKey } from "./translationKey.js";
|
|
2
|
+
export const FALLBACK_ERROR_TEXT = "Something went wrong";
|
|
3
|
+
export const localiseError = (i18n, error) => {
|
|
4
|
+
const key = `ERRORS.${error.code}`;
|
|
5
|
+
const fallback = error.message ?? FALLBACK_ERROR_TEXT;
|
|
6
|
+
const text = i18n?.isInitialized && isWidgetTranslationKey(key)
|
|
7
|
+
? i18n.t(key, { defaultValue: fallback })
|
|
8
|
+
: fallback;
|
|
9
|
+
return `${text} (${error.errorId})`;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=errorMessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorMessage.js","sourceRoot":"","sources":["../../src/errorMessage.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAU7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,sBAAsB,CAAC;AAQ1D,MAAM,CAAC,MAAM,aAAa,GAAG,CAC5B,IAAuB,EACvB,KAAqB,EACZ,EAAE;IACX,MAAM,GAAG,GAAG,UAAU,KAAK,CAAC,IAAI,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,IAAI,mBAAmB,CAAC;IACtD,MAAM,IAAI,GACT,IAAI,EAAE,aAAa,IAAI,sBAAsB,CAAC,GAAG,CAAC;QACjD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;QACzC,CAAC,CAAC,QAAQ,CAAC;IACb,OAAO,GAAG,IAAI,KAAK,KAAK,CAAC,OAAO,GAAG,CAAC;AACrC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18SharedOptions.d.ts","sourceRoot":"","sources":["../../src/i18SharedOptions.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,iBAAiB;;;;;CAK7B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getProcess } from "./process.js";
|
|
2
|
+
import { LanguageCodes, Languages } from "./translations.js";
|
|
3
|
+
const logLevel = getProcess()?.env?.PROSOPO_LOG_LEVEL;
|
|
4
|
+
export const i18nSharedOptions = {
|
|
5
|
+
debug: logLevel === "debug",
|
|
6
|
+
fallbackLng: Languages.english,
|
|
7
|
+
supportedLngs: LanguageCodes,
|
|
8
|
+
nonExplicitSupportedLngs: false,
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=i18SharedOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18SharedOptions.js","sourceRoot":"","sources":["../../src/i18SharedOptions.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM7D,MAAM,QAAQ,GAAG,UAAU,EAAE,EAAE,GAAG,EAAE,iBAAiB,CAAC;AAEtD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,KAAK,EAAE,QAAQ,KAAK,OAAO;IAC3B,WAAW,EAAE,SAAS,CAAC,OAAO;IAC9B,aAAa,EAAE,aAAa;IAC5B,wBAAwB,EAAE,KAAK;CAC/B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import i18n, { type BackendModule, type NewableModule } from "i18next";
|
|
2
|
+
export declare const fsBackend: (loaded?: unknown) => NewableModule<BackendModule>;
|
|
3
|
+
export declare function initializeI18n(i18nLoadedCallback?: (value: typeof i18n) => void): import("i18next").i18n;
|
|
4
|
+
export default initializeI18n;
|
|
5
|
+
//# sourceMappingURL=i18nBackend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nBackend.d.ts","sourceRoot":"","sources":["../../src/i18nBackend.ts"],"names":[],"mappings":"AAgBA,OAAO,IAAI,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AA4BvE,eAAO,MAAM,SAAS,YACb,OAAO,KACb,aAAa,CAAC,aAAa,CAK7B,CAAC;AAEF,wBAAgB,cAAc,CAC7B,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,IAAI,KAAK,IAAI,0BAqCjD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
import i18n from "i18next";
|
|
4
|
+
import FSBackendCjs from "i18next-fs-backend/cjs";
|
|
5
|
+
import { i18nSharedOptions } from "./i18SharedOptions.js";
|
|
6
|
+
import { createRequestLanguageDetector } from "./requestLanguageDetector.js";
|
|
7
|
+
import { NAMESPACES } from "./translationKey.js";
|
|
8
|
+
import { isServerSide } from "./util.js";
|
|
9
|
+
const cataloguePath = () => path.join(path.dirname(fileURLToPath(import.meta.url)), "locales", "{{lng}}", "{{ns}}.json");
|
|
10
|
+
const isBackendClass = (value) => typeof value === "function" && "type" in value && value.type === "backend";
|
|
11
|
+
export const fsBackend = (loaded = FSBackendCjs) => {
|
|
12
|
+
if (!isBackendClass(loaded)) {
|
|
13
|
+
throw new Error("i18next-fs-backend/cjs did not export a backend class");
|
|
14
|
+
}
|
|
15
|
+
return loaded;
|
|
16
|
+
};
|
|
17
|
+
export function initializeI18n(i18nLoadedCallback) {
|
|
18
|
+
if (!i18n.isInitialized && isServerSide()) {
|
|
19
|
+
i18n
|
|
20
|
+
.use(fsBackend())
|
|
21
|
+
.use(createRequestLanguageDetector())
|
|
22
|
+
.init({
|
|
23
|
+
...i18nSharedOptions,
|
|
24
|
+
ns: [NAMESPACES.server, NAMESPACES.widget, NAMESPACES.target],
|
|
25
|
+
defaultNS: NAMESPACES.server,
|
|
26
|
+
fallbackNS: [NAMESPACES.widget, NAMESPACES.target],
|
|
27
|
+
backend: {
|
|
28
|
+
loadPath: cataloguePath(),
|
|
29
|
+
},
|
|
30
|
+
}, () => {
|
|
31
|
+
i18nLoadedCallback?.(i18n);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
i18nLoadedCallback?.(i18n);
|
|
36
|
+
}
|
|
37
|
+
return i18n;
|
|
38
|
+
}
|
|
39
|
+
export default initializeI18n;
|
|
40
|
+
//# sourceMappingURL=i18nBackend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nBackend.js","sourceRoot":"","sources":["../../src/i18nBackend.ts"],"names":[],"mappings":"AAcA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,IAAgD,MAAM,SAAS,CAAC;AACvE,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzC,MAAM,aAAa,GAAG,GAAW,EAAE,CAClC,IAAI,CAAC,IAAI,CACR,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAC5C,SAAS,EACT,SAAS,EACT,aAAa,CACb,CAAC;AAQH,MAAM,cAAc,GAAG,CACtB,KAAc,EAC0B,EAAE,CAC1C,OAAO,KAAK,KAAK,UAAU,IAAI,MAAM,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC;AAE5E,MAAM,CAAC,MAAM,SAAS,GAAG,CACxB,SAAkB,YAAY,EACC,EAAE;IACjC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,UAAU,cAAc,CAC7B,kBAAiD;IAEjD,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,YAAY,EAAE,EAAE,CAAC;QAC3C,IAAI;aACF,GAAG,CAAC,SAAS,EAAE,CAAC;aAChB,GAAG,CAAC,6BAA6B,EAAE,CAAC;aACpC,IAAI,CACJ;YACC,GAAG,iBAAiB;YAGpB,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC;YAC7D,SAAS,EAAE,UAAU,CAAC,MAAM;YAC5B,UAAU,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC;YAClD,OAAO,EAAE;gBACR,QAAQ,EAAE,aAAa,EAAE;aACzB;SACD,EAOD,GAAG,EAAE;YACJ,kBAAkB,EAAE,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CACD,CAAC;IACJ,CAAC;SAAM,CAAC;QAMP,kBAAkB,EAAE,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nFrontend.d.ts","sourceRoot":"","sources":["../../src/i18nFrontend.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAa,KAAK,EAAoB,MAAM,YAAY,CAAC;AAqKrE,wBAAgB,cAAc,CAC7B,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,EAC3C,GAAG,CAAC,EAAE,MAAM,GACV,KAAK,CAeP;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { flatten } from "@prosopo/util";
|
|
2
|
+
import { i18nSharedOptions } from "./i18SharedOptions.js";
|
|
3
|
+
import { browserLanguages, matchLanguage, resolveLanguageList, } from "./languagePreference.js";
|
|
4
|
+
import widgetEn from "./locales/en/widget.json" with { type: "json" };
|
|
5
|
+
import { NAMESPACES } from "./translationKey.js";
|
|
6
|
+
const NAMESPACE = NAMESPACES.widget;
|
|
7
|
+
const FALLBACK_LANGUAGE = i18nSharedOptions.fallbackLng;
|
|
8
|
+
const CATALOGUE_FETCH_TIMEOUT_MS = 10_000;
|
|
9
|
+
const bundledEnglish = flatten(widgetEn);
|
|
10
|
+
const catalogueUrl = (language) => {
|
|
11
|
+
const moduleUrl = import.meta.url;
|
|
12
|
+
const directory = moduleUrl.slice(0, moduleUrl.lastIndexOf("/"));
|
|
13
|
+
return `${directory}/locales/${language}/${NAMESPACE}.json`;
|
|
14
|
+
};
|
|
15
|
+
const detectLanguage = () => matchLanguage(browserLanguages()) ?? FALLBACK_LANGUAGE;
|
|
16
|
+
const fetchCatalogue = async (language) => {
|
|
17
|
+
const controller = new AbortController();
|
|
18
|
+
const timer = setTimeout(() => controller.abort(), CATALOGUE_FETCH_TIMEOUT_MS);
|
|
19
|
+
try {
|
|
20
|
+
const response = await fetch(catalogueUrl(language), {
|
|
21
|
+
signal: controller.signal,
|
|
22
|
+
});
|
|
23
|
+
if (!response.ok) {
|
|
24
|
+
return {};
|
|
25
|
+
}
|
|
26
|
+
const body = await response.json();
|
|
27
|
+
return typeof body === "object" && body !== null ? flatten(body) : {};
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
return {};
|
|
31
|
+
}
|
|
32
|
+
finally {
|
|
33
|
+
clearTimeout(timer);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const interpolate = (template, options) => options
|
|
37
|
+
? template.replace(/\{\{(\w+)\}\}/g, (placeholder, name) => name in options ? String(options[name]) : placeholder)
|
|
38
|
+
: template;
|
|
39
|
+
const createBrowserI18n = (requested) => {
|
|
40
|
+
const catalogues = new Map([
|
|
41
|
+
[FALLBACK_LANGUAGE, bundledEnglish],
|
|
42
|
+
]);
|
|
43
|
+
const listeners = new Map();
|
|
44
|
+
let language = resolveLanguageList(requested) ?? detectLanguage();
|
|
45
|
+
let initialised = false;
|
|
46
|
+
const emit = (event) => {
|
|
47
|
+
for (const listener of listeners.get(event) ?? []) {
|
|
48
|
+
listener();
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
const loadCatalogues = async (target) => {
|
|
52
|
+
if (!catalogues.has(target)) {
|
|
53
|
+
catalogues.set(target, await fetchCatalogue(target));
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const lookup = (candidate, key) => catalogues.get(candidate)?.[key];
|
|
57
|
+
const loading = loadCatalogues(language).then(() => {
|
|
58
|
+
initialised = true;
|
|
59
|
+
emit("initialized");
|
|
60
|
+
emit("loaded");
|
|
61
|
+
});
|
|
62
|
+
const instance = {
|
|
63
|
+
get language() {
|
|
64
|
+
return language;
|
|
65
|
+
},
|
|
66
|
+
get isInitialized() {
|
|
67
|
+
return initialised;
|
|
68
|
+
},
|
|
69
|
+
t: (key, options) => interpolate(lookup(language, key) ??
|
|
70
|
+
lookup(FALLBACK_LANGUAGE, key) ??
|
|
71
|
+
options?.defaultValue ??
|
|
72
|
+
key, options),
|
|
73
|
+
exists: (key) => lookup(language, key) !== undefined ||
|
|
74
|
+
lookup(FALLBACK_LANGUAGE, key) !== undefined,
|
|
75
|
+
hasLoadedNamespace: (namespace) => namespace === NAMESPACE && catalogues.has(language),
|
|
76
|
+
changeLanguage: async (next) => {
|
|
77
|
+
const resolved = resolveLanguageList(next) ?? FALLBACK_LANGUAGE;
|
|
78
|
+
if (resolved !== language) {
|
|
79
|
+
language = resolved;
|
|
80
|
+
await loadCatalogues(resolved);
|
|
81
|
+
emit("loaded");
|
|
82
|
+
emit("languageChanged");
|
|
83
|
+
}
|
|
84
|
+
return instance;
|
|
85
|
+
},
|
|
86
|
+
on: (event, listener) => {
|
|
87
|
+
const existing = listeners.get(event) ?? new Set();
|
|
88
|
+
existing.add(listener);
|
|
89
|
+
listeners.set(event, existing);
|
|
90
|
+
},
|
|
91
|
+
off: (event, listener) => {
|
|
92
|
+
listeners.get(event)?.delete(listener);
|
|
93
|
+
},
|
|
94
|
+
ready: async () => {
|
|
95
|
+
await loading;
|
|
96
|
+
return instance;
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
return instance;
|
|
100
|
+
};
|
|
101
|
+
let instance;
|
|
102
|
+
export function initializeI18n(i18nLoadedCallback, lng) {
|
|
103
|
+
if (!instance) {
|
|
104
|
+
const created = createBrowserI18n(lng);
|
|
105
|
+
instance = created;
|
|
106
|
+
void created.ready().then(() => i18nLoadedCallback?.(created));
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
i18nLoadedCallback?.(instance);
|
|
110
|
+
}
|
|
111
|
+
return instance;
|
|
112
|
+
}
|
|
113
|
+
export default initializeI18n;
|
|
114
|
+
//# sourceMappingURL=i18nFrontend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nFrontend.js","sourceRoot":"","sources":["../../src/i18nFrontend.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACN,gBAAgB,EAChB,aAAa,EACb,mBAAmB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,QAAQ,MAAM,0BAA0B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC;AACpC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,WAAW,CAAC;AASxD,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAS1C,MAAM,cAAc,GAAc,OAAO,CAAC,QAAQ,CAAC,CAAC;AAOpD,MAAM,YAAY,GAAG,CAAC,QAAgB,EAAU,EAAE;IACjD,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IAClC,MAAM,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAA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EAAE;YACrD,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,EAAE,KAAK,IAA0B,EAAE;YACvC,MAAM,OAAO,CAAC;YACd,OAAO,QAAQ,CAAC;QACjB,CAAC;KACD,CAAC;IAEF,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAOF,IAAI,QAAiC,CAAC;AAEtC,MAAM,UAAU,cAAc,CAC7B,kBAA2C,EAC3C,GAAY;IAEZ,IAAI,CAAC,QAAQ,EAAE,CAAC;QAIf,MAAM,OAAO,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC;QACvC,QAAQ,GAAG,OAAO,CAAC;QACnB,KAAK,OAAO,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kBAAkB,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAChE,CAAC;SAAM,CAAC;QAIP,kBAAkB,EAAE,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nMiddleware.d.ts","sourceRoot":"","sources":["../../src/i18nMiddleware.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAMjD,KAAK,aAAa,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/D,iBAAe,cAAc,CAC5B,OAAO,EAAE,aAAa,GACpB,OAAO,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAOpC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import i18n from "i18next";
|
|
2
|
+
import { handle } from "i18next-http-middleware";
|
|
3
|
+
import loadI18next from "./loadI18next.js";
|
|
4
|
+
async function i18nMiddleware(options) {
|
|
5
|
+
await loadI18next(true);
|
|
6
|
+
return handle(i18n, { ...options });
|
|
7
|
+
}
|
|
8
|
+
export default i18nMiddleware;
|
|
9
|
+
//# sourceMappingURL=i18nMiddleware.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nMiddleware.js","sourceRoot":"","sources":["../../src/i18nMiddleware.ts"],"names":[],"mappings":"AAcA,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAO3C,KAAK,UAAU,cAAc,CAC5B,OAAsB;IAMtB,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC;IACxB,OAAO,MAAM,CAAC,IAAI,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AACrC,CAAC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EACN,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EACN,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,eAAe,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACN,YAAY,EACZ,sBAAsB,EACtB,UAAU,GACV,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACX,SAAS,EACT,SAAS,EACT,cAAc,EACd,oBAAoB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EACX,SAAS,EACT,UAAU,EACV,KAAK,EACL,WAAW,EACX,gBAAgB,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { BROWSER_UI_LANGUAGES } from "./browserUiLanguages.js";
|
|
2
|
+
export { getLanguageDirection } from "./direction.js";
|
|
3
|
+
export { default as i18nMiddleware } from "./i18nMiddleware.js";
|
|
4
|
+
export { default as loadI18next } from "./loadI18next.js";
|
|
5
|
+
export { isLanguage, LanguageCodes, Languages } from "./translations.js";
|
|
6
|
+
export { browserLanguages, LANGUAGE_HEADER, LANGUAGE_QUERY_PARAM, languageHeaders, matchLanguage, matchLanguageTag, negotiateLanguage, parseLanguageList, requestLanguage, resolveLanguageList, widgetLanguageHeaders, } from "./languagePreference.js";
|
|
7
|
+
export { isClientSide } from "./util.js";
|
|
8
|
+
export { englishText, isTargetKey, isTranslationKey, targetKeys, translationKeys, } from "./serverTranslationKeys.js";
|
|
9
|
+
export { canTranslate, isWidgetTranslationKey, NAMESPACES, } from "./translationKey.js";
|
|
10
|
+
export { createTranslator } from "./translator.js";
|
|
11
|
+
export { createUntranslatedI18n } from "./untranslatedI18n.js";
|
|
12
|
+
export { FALLBACK_ERROR_TEXT, localiseError } from "./errorMessage.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EACN,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EACN,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,eAAe,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACN,YAAY,EACZ,sBAAsB,EACtB,UAAU,GACV,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MA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