Skip to content

feat(i18n): add Japanese locale support#126

Open
Nisss78 wants to merge 3 commits into
FreeU-group:mainfrom
Nisss78:feat/add-japanese-locale
Open

feat(i18n): add Japanese locale support#126
Nisss78 wants to merge 3 commits into
FreeU-group:mainfrom
Nisss78:feat/add-japanese-locale

Conversation

@Nisss78
Copy link
Copy Markdown

@Nisss78 Nisss78 commented Mar 29, 2026

Summary

  • Add complete Japanese (ja) translation with all 918 keys
  • Register ja in SUPPORTED_LOCALES in both request.ts and locale.ts
  • Add "日本語" to the language selector in en.json and zh.json

Details

  • ja.json covers all sections: UI labels, settings, chat, calendar, todo management, onboarding, etc.
  • Placeholder variables ({count}, {error}, {name}, etc.) are preserved as-is
  • Brand names and technical terms (API Key, LLM, OCR, etc.) are kept in English
  • Uses ja-JP for numberLocale and dateLocale
  • Build verified successfully with next build

Test plan

  • Switch language to 日本語 in the language selector
  • Verify all UI sections display correctly in Japanese
  • Verify browser auto-detection works for ja Accept-Language header

🤖 Generated with Claude Code

Nisss78 and others added 3 commits March 29, 2026 16:14
Add complete Japanese (ja) translation with all 918 keys translated.
- Add ja.json message file with native Japanese translations
- Register "ja" in SUPPORTED_LOCALES (request.ts + locale.ts)
- Add "日本語" option to language selector in en.json and zh.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The LanguageToggle had a hardcoded language list missing "ja".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant