Skip to content

feat(frontend): add vietnamese language and switcher#11

Merged
tobynguyen27 merged 3 commits into
solitar-dev:mainfrom
k1enn:feat/vietnamese-language
Jun 10, 2026
Merged

feat(frontend): add vietnamese language and switcher#11
tobynguyen27 merged 3 commits into
solitar-dev:mainfrom
k1enn:feat/vietnamese-language

Conversation

@k1enn

@k1enn k1enn commented Jun 9, 2026

Copy link
Copy Markdown
Contributor
  • Add vi.json locale (full translation, 72 keys)
  • Register vi locale with no_prefix strategy + browser detect cookie
  • Add LanguageSetting segmented switcher in /settings

k1enn and others added 3 commits June 9, 2026 11:13
- Add vi.json locale (full translation, 72 keys)
- Register vi locale with no_prefix strategy + browser detect cookie
- Add LanguageSetting segmented switcher in /settings

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
$t() called once in setup froze translated strings until reload.
Recompute on locale change instead:
- Wrap nav, footer, theme label arrays in computed
- Pass regle validation messages as getter functions

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tobynguyen27 tobynguyen27 merged commit f13773c into solitar-dev:main Jun 10, 2026
2 of 3 checks passed
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.

2 participants