Skip to content

feat: add 6 major language translations and locale dropdown#3

Merged
babu-ch merged 1 commit intomainfrom
feat/i18n-add-languages
Mar 31, 2026
Merged

feat: add 6 major language translations and locale dropdown#3
babu-ch merged 1 commit intomainfrom
feat/i18n-add-languages

Conversation

@babu-ch
Copy link
Copy Markdown
Owner

@babu-ch babu-ch commented Mar 31, 2026

Summary

  • Add translations for 6 major languages: Chinese (zh), Korean (ko), Spanish (es), French (fr), German (de), Portuguese (pt)
  • Convert the two-language toggle button into a dropdown <select> supporting all 8 locales
  • Export LANGUAGE_NAMES constant with native language names (endonyms) for the dropdown display
  • Remove unused locale.switch translation key from en/ja

Test plan

  • cd playground && npm run dev で起動
  • ドロップダウンで全8言語の切り替えを確認
  • 各ページ(Internal, External, Prevent, Analytics, Confirm, FormGuard, Security)で翻訳が表示されることを確認
  • プレースホルダー({tag}, {url}, {hostname}, {domains})が正しく動作することを確認

🤖 Generated with Claude Code

Add 6 major language translations to the playground and convert the
two-language toggle button into a dropdown select for all 8 locales.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@babu-ch babu-ch merged commit 3094d28 into main Mar 31, 2026
1 check passed
@babu-ch babu-ch deleted the feat/i18n-add-languages branch March 31, 2026 11:41
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