Add Vietnamese translation for Shelley#197
Conversation
The vi.ts translation file and dropdown option were added, but the locale was never registered in the type union, translations map, or module exports. This caused a white screen crash when selecting Vietnamese because translations['vi'] was undefined. Co-authored-by: Shelley <shelley@exe.dev>
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: exe.dev user.
|
philz
left a comment
There was a problem hiding this comment.
Hi!
Thanks for your PR!
It seems to be missing the actual file of translations; can you update it?
There's also some confusion between vn and vi.
Thanks!
- Add Vietnamese translation file vi.ts - Update all existing i18n files to include Vietnamese locale - Update ChatInterface with Vietnamese flag icon Co-authored-by: Shelley <shelley@exe.dev>
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: exe.dev user.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: exe.dev user.
|
|
I added all the files now. Please check the repo again and merge my commit. |
Upstream changes include: - i18n: Vietnamese locale properly wired (vi, not vn) - UI: message styling, speaker accent rails, sans font - LLM: Gemini reasoning effort, GPT-5.5, DeepSeek V4 Pro - Tools: browser_network clear_cache, shell tool in predictable - Skills: conditional skills via 'when:', reflection-integration - Settings: per-conversation tool overrides, reset-to-defaults - Various fixes and improvements Resolved: i18n locale naming (vi vs vn), duplicate vi entry in ChatInterface Co-authored-by: Shelley <shelley@exe.dev>
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: exe.dev user.
|
Summary
Add full i18n support for Vietnamese (
vi) locale across the UI.Changes
ui/src/i18n/vi.ts(new file)ui/src/i18n/types.ts"vi"to theLocaletype unionvietnamese: stringtoTranslationKeysinterfaceui/src/i18n/context.tsximport { vn } from "./vi"vi: vnentry to thetranslationsrecordui/src/i18n/index.tsexport { vn } from "./vi"ui/src/components/ChatInterface.tsx{ locale: "vi", flag: "🇻🇳", label: "Tiếng Việt" }toLANGUAGE_OPTIONSVerification: