chore: set Japanese as default locale and remove i18n-cli

- Remove @lobehub/i18n-cli package and .i18nrc.js config
- Delete locales/default/ directory (translation source)
- Change DEFAULT_LOCALE and fallbackLng to ja-JP
- Reorder LOCALES array with Japanese first
- Simplify language selector to horizontal solid button style
This commit is contained in:
2026-03-16 11:44:29 +08:00
parent 43820127f4
commit e823e703ea
14 changed files with 22 additions and 2259 deletions

View File

@@ -17,8 +17,7 @@
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,json}\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"i18n": "lobe-i18n"
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@codemirror/lang-css": "^6.3.0",
@@ -46,7 +45,6 @@
},
"devDependencies": {
"@electron-toolkit/tsconfig": "^1.0.1",
"@lobehub/i18n-cli": "^1.26.1",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",