Skip to content

Commit 9652d58

Browse files
authored
refactor(i18n): split translation data into per-locale modules (#827)
* refactor(i18n): split translation data into per-locale modules * chore(ci): exclude src/locales from typos (multilingual strings) * fix(i18n): alias jp to ja; trim settings titles for Sort prefix; align imports
1 parent a50e748 commit 9652d58

12 files changed

Lines changed: 3669 additions & 4135 deletions

File tree

β€ŽSortVision/src/context/LanguageContext.jsxβ€Ž

Lines changed: 1 addition & 4135 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/bn.jsβ€Ž

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/de.jsβ€Ž

Lines changed: 463 additions & 0 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/en.jsβ€Ž

Lines changed: 455 additions & 0 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/es.jsβ€Ž

Lines changed: 463 additions & 0 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/fr.jsβ€Ž

Lines changed: 465 additions & 0 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/hi.jsβ€Ž

Lines changed: 457 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import en from './en';
2+
import es from './es';
3+
import fr from './fr';
4+
import hi from './hi';
5+
import bn from './bn';
6+
import de from './de';
7+
import zh from './zh';
8+
import ja from './ja';
9+
import jp from './jp';
10+
11+
export const translations = { en, es, fr, hi, bn, de, zh, ja, jp };

β€ŽSortVision/src/locales/ja.jsβ€Ž

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

β€ŽSortVision/src/locales/jp.jsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './ja';

0 commit comments

Comments
Β (0)