|
| 1 | +# vi Glossary |
| 2 | + |
| 3 | +## Sources |
| 4 | + |
| 5 | +- PR #55925: https://github.com/anomalyco/opencode/pull/55925 (terminology fixes in this file) |
| 6 | +- PR #55922: https://github.com/anomalyco/opencode/pull/55922 (Vietnamese Console locale) |
| 7 | +- Existing Vietnamese copy on dev: `packages/app/src/runtime/i18n/vi.ts`, `packages/ui/src/i18n/vi.ts`, `README.vi.md` |
| 8 | + |
| 9 | +## Do Not Translate (Locale Additions) |
| 10 | + |
| 11 | +- `OpenCode` (preserve casing in prose; keep `opencode` only in commands, package names, paths, or code) |
| 12 | +- `Zen`, `Go`, `Go Plus`, `Black`, `Enterprise`, `Models.dev` |
| 13 | +- `TUI`, `LSP`, `LLM`, `API`, `CLI`, `MCP`, `SSO`, `SDK`, `IDE`, `SSE`, `ZDR`, `MIT License` |
| 14 | +- `terminal`, `desktop`, `web`, `shell` |
| 15 | +- Plan names such as `Black 20`, `Black 100`, `Black 200` |
| 16 | +- Commands, flags, file paths, and code literals (keep exactly as written) |
| 17 | + |
| 18 | +## Preferred Terms |
| 19 | + |
| 20 | +| English | Preferred | Notes | |
| 21 | +| -------------------------- | --------------------- | -------------------------------------------------------- | |
| 22 | +| coding agent (the product) | `trợ lý lập trình AI` | Matches the tagline already used in `README.vi.md` | |
| 23 | +| agent (an instance) | `tác nhân` | Used in app UI copy; keep consistent with `packages/app` | |
| 24 | +| session | `phiên` | Matches `packages/app/src/runtime/i18n/vi.ts` | |
| 25 | +| file | `tệp` | `tệp đính kèm` for attachment | |
| 26 | +| provider | `nhà cung cấp` | | |
| 27 | +| model | `mô hình` | | |
| 28 | +| docs | `tài liệu` | | |
| 29 | +| download | `tải về` | | |
| 30 | +| sign in / log in | `đăng nhập` | | |
| 31 | +| sign up | `đăng ký` | | |
| 32 | +| subscribe | `đăng ký` | Prefer `đăng ký gói ...` for plans | |
| 33 | +| cancel | `hủy` | | |
| 34 | +| privacy | `quyền riêng tư` | | |
| 35 | +| settings | `cài đặt` | | |
| 36 | +| usage limits | `hạn mức sử dụng` | | |
| 37 | +| top up (balance/credit) | `nạp thêm` | `nạp thêm số dư` / `nạp thêm tín dụng` | |
| 38 | +| refund | `hoàn tiền` | | |
| 39 | +| waitlist | `danh sách chờ` | | |
| 40 | +| server | `máy chủ` | | |
| 41 | +| workspace | `không gian làm việc` | | |
| 42 | +| brand | `thương hiệu` | | |
| 43 | +| changelog | `nhật ký thay đổi` | | |
| 44 | +| local models | `mô hình chạy cục bộ` | | |
| 45 | +| prompt | `lời nhắc` | | |
| 46 | +| token | `token` | Keep in English; do not use `mã thông báo` | |
| 47 | +| skill | `kỹ năng` | Matches the app UI label for the skills tab | |
| 48 | +| plugin | `tiện ích mở rộng` | Matches the app UI label for extensions | |
| 49 | +| command | `lệnh` | | |
| 50 | +| theme | `giao diện` | | |
| 51 | +| formatter | `trình định dạng` | | |
| 52 | +| compaction | `nén` | | |
| 53 | +| attachment | `tệp đính kèm` | | |
| 54 | +| data | `dữ liệu` | | |
| 55 | + |
| 56 | +## Guidance |
| 57 | + |
| 58 | +- Prefer natural Vietnamese phrasing over literal translation; short labels stay short |
| 59 | +- Keep language names static/native in language pickers: always `Tiếng Việt`, never a translated form |
| 60 | +- Keep `$` amounts in the original currency notation and numbers, e.g. `$10/month` |
| 61 | +- Vietnamese has no grammatical plural, so `*_one` and `*_other` strings may be identical |
| 62 | +- Write dates and numbers with the Latin digits used elsewhere in the UI |
| 63 | + |
| 64 | +## Avoid |
| 65 | + |
| 66 | +- Avoid translating language names differently per current locale in language lists |
| 67 | +- Avoid `mã nguồn` for `token` and `token` for `source code` |
| 68 | +- Avoid Sino-Vietnamese calques such as `chủ đề` for `topic` when `chủ đề` already means theme |
| 69 | +- Avoid translating `Zen`, `Go`, and `Black` as generic words like `đỉnh cao` or `đi` |
0 commit comments