feat(core): add built-in locale packs and lazy loadLocale (#1590)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Sam Potts
2026-06-18 12:16:47 -07:00
committed by GitHub
co-authored by Cursor
parent 768bf09da0
commit 9170a5879e
171 changed files with 3416 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
export { registerI18n } from '@videojs/core/i18n';
+1
View File
@@ -0,0 +1 @@
*.ts
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { all, type LocaleTag, localeTags } from '@videojs/core/i18n/locales/all';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ar';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/az';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/bg';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/bn';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/bs';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ca';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/cs';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/cy';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/da';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/de';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/el';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/en';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/es';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/et';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/eu';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/fa';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/fi';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/fr';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/gd';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/gl';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/he';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/hi';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/hr';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/hu';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/it';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ja';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ko';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/lv';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/mr';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/nb';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ne';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/nl';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/nn';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/oc';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/pl';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/pt-BR';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/pt-PT';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/pt';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ro';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/ru';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/sk';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/sl';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/sr';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/sv';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/te';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/th';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/tr';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/uk';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/vi';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/zh-CN';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/zh-TW';
+2
View File
@@ -0,0 +1,2 @@
/** Generated by packages/core/scripts/generate-i18n-locales.ts — do not edit. */
export { default } from '@videojs/core/i18n/locales/zh';