You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Chinese (中文) language support to Desktop app #1158
Freebuff Desktop currently only has an English interface. The app includes many popular Chinese AI models (DeepSeek V4, MiniMax M3, GLM 5.2/5.3, MiMo 2.5, Kimi K2), which attracts a large Chinese developer community. However, Chinese-speaking users face a language barrier when using the Desktop app — all menus, buttons, tooltips, error messages, and settings are in English only. This limits accessibility for a significant portion of Freebuff's global user base.
The CLI README already provides a 简体中文 version, showing that localization awareness exists in the project, but the Desktop app itself has no language switching option.
What would you like to happen?
Add i18n (internationalization) support to Freebuff Desktop with at least Simplified Chinese (zh-CN):
A language switcher in the Settings panel (English / 简体中文)
Translations for all UI elements — menus, buttons, tooltips, error messages, model descriptions, etc.
Auto-detect the system locale and default to Chinese if the user's OS language is Chinese
The project is a TypeScript monorepo, so adding i18n (e.g., via i18next or a similar library) should be straightforward. I'd be happy to contribute a zh-CN translation file if the team is open to it!
+1 to this request — hoping it can make it onto the roadmap.
The Chinese-speaking user base here is not small: several Chinese users have commented on this issue asking for it, and it keeps getting reactions. The Desktop app already ships with the Chinese models many of these users rely on (DeepSeek, GLM, MiniMax, Kimi), so this audience is clearly being taken seriously — yet the entire UI is English-only, including menus, buttons, settings, tooltips and error messages. That's a real barrier, and people end up relying on third-party localization packs that break (or white-screen the app) on every update.
What I'd like to see, in line with the original request:
A language switcher in Settings (English / 简体中文) that persists the choice;
System-locale detection on first launch, defaulting to Chinese on Chinese-language systems;
Coverage of the high-traffic strings at minimum — menus, buttons, settings, notifications and error messages.
The team wouldn't have to write the translations alone: several people here have already offered to contribute locale files and a PR. Even just landing the i18n scaffolding with zh-CN as the first locale would make adding other languages much easier later. Thanks for considering it!
Proposal: add i18n to the Desktop app, starting with zh-CN
Rather than just "+1", here's a concrete, reviewable plan. Happy to be corrected on structure — and happy to be pointed at the right directory to start from.
Goals
A language switcher in Settings (English / 简体中文), with the choice persisted;
Detect the system locale on first launch and default to Chinese on Chinese-language systems;
Not translating 100% of strings on day one — untranslated strings fall back to English;
No changes to docs, README or the website;
No CLI/TUI work (can be evaluated separately later);
No runtime language-pack downloading or hot updates.
Approach
1. Use i18next + react-i18next for the renderer, and a small shared t() for the main process (Electron menus, native dialogs). Same JSON, two initializers. Not worth hand-rolling: we need interpolation, pluralization, fallback and ideally type safety.
2. Use the English source string as the key, e.g. t('Settings'), t('Failed to save changes'), rather than t('settings.title').
Why: existing screens can be migrated incrementally with minimal structural churn; anything not yet wrapped simply stays English; new copy needs no naming bookkeeping. Trade-off: renaming copy later also renames the key — acceptable in my view.
3. Structure (illustrative — actual paths TBD against the repo)
locales/
en.json # source of truth
zh-CN.json # key set must match en.json exactly
i18n/
index.ts # init, fallbackLng: 'en', namespaces
detect.ts # system locale detection
PR 1 is the important one: it changes no existing behavior (still English by default), so risk is minimal, yet it unblocks parallel translation work by others.
Acceptance criteria
English UI is byte-for-byte unchanged (no regressions);
Chinese UI shows Chinese for menus/settings/notifications, and English (never blanks or raw keys) for untranslated strings;
Fresh install on a Chinese-locale OS starts in Chinese; a manual switch survives restart;
Key-parity test passes.
Risks
Copy is scattered across many components → mitigated by string-as-key plus incremental migration, avoiding one giant diff;
Two runtimes, two instances → share one JSON and one resolved locale so main and renderer can't drift apart;
Translation quality → zh-CN reviewed by native speakers; several people in this thread have already offered to contribute, so PRs 2–3 can be multi-contributor.
What I can do
If the direction is acceptable, I'll start with PR 1 (scaffolding + test + settings entry) and follow the three stages above. It would help to know where the desktop renderer lives and which module the settings entry should go into.
(Paths above are illustrative — I couldn't locate the desktop source in the public tree, so treat them as placeholders.)
Activity
sufico2026-jpg commentedon Sep 3, 2026
支持,希望加入中文支持
codebuff-team commentedon Oct 2, 2026
Marking this stale - there has been no activity here for 29 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
youmengyang-droid commentedon Oct 7, 2026
支持,希望加入中文支持
zhuyouyi commentedon Oct 7, 2026
we need chinese
libraxiaoxu-cmd commentedon Oct 27, 2026
希望加入中文版本,你发广告都不知道啥意思
doubao01 commentedon Nov 19, 2026
中文版:
支持这个请求,希望能排进计划。
中文用户量不小:这条 issue 下面陆续有中文用户留言表示需要,也一直有人点赞;桌面版本身就内置了 DeepSeek、GLM、MiniMax、Kimi 这些中文用户常用的模型,说明这部分用户是被认真对待的。但界面全是英文,菜单、按钮、提示、错误信息都是如此,对不熟悉英文的用户来说门槛很高,很多人是靠第三方汉化包勉强使用——而那些包一遇到版本更新就失效,甚至会白屏。
我的具体期望和原帖一致:
设置里加一个语言切换(English / 简体中文),并记住用户的选择;
首次启动时读取系统语言,中文系统默认显示中文;
至少覆盖菜单、按钮、设置项、提示与错误信息这些高频文案。
翻译文案不需要官方全部自己写,社区里已经有不少人表示愿意贡献 locale 文件和 PR。哪怕先把 i18n 框架搭起来、只接一个 zh-CN,后面加其他语言也会容易很多。感谢!
英文版:
+1 to this request — hoping it can make it onto the roadmap.
The Chinese-speaking user base here is not small: several Chinese users have commented on this issue asking for it, and it keeps getting reactions. The Desktop app already ships with the Chinese models many of these users rely on (DeepSeek, GLM, MiniMax, Kimi), so this audience is clearly being taken seriously — yet the entire UI is English-only, including menus, buttons, settings, tooltips and error messages. That's a real barrier, and people end up relying on third-party localization packs that break (or white-screen the app) on every update.
What I'd like to see, in line with the original request:
A language switcher in Settings (English / 简体中文) that persists the choice;
System-locale detection on first launch, defaulting to Chinese on Chinese-language systems;
Coverage of the high-traffic strings at minimum — menus, buttons, settings, notifications and error messages.
The team wouldn't have to write the translations alone: several people here have already offered to contribute locale files and a PR. Even just landing the i18n scaffolding with zh-CN as the first locale would make adding other languages much easier later. Thanks for considering it!
doubao01 commentedon Nov 19, 2026
Proposal: add i18n to the Desktop app, starting with zh-CN
Rather than just "+1", here's a concrete, reviewable plan. Happy to be corrected on structure — and happy to be pointed at the right directory to start from.
Goals
Non-goals for v1
Approach
1. Use i18next + react-i18next for the renderer, and a small shared
t()for the main process (Electron menus, native dialogs). Same JSON, two initializers. Not worth hand-rolling: we need interpolation, pluralization, fallback and ideally type safety.2. Use the English source string as the key, e.g.
t('Settings'),t('Failed to save changes'), rather thant('settings.title').Why: existing screens can be migrated incrementally with minimal structural churn; anything not yet wrapped simply stays English; new copy needs no naming bookkeeping. Trade-off: renaming copy later also renames the key — acceptable in my view.
3. Structure (illustrative — actual paths TBD against the repo)
4. Detection and persistence
useTranslation()re-renders.5. Quality gates
zh-CN.jsonanden.jsonhave identical key sets (missing and extra keys fail) — this is what stops translations from rotting;{{count}}etc. present in both locales);Suggested split — three PRs, each independently reviewable and revertible
en.json, key-parity test, settings entry + persistence, switcher UI (only the settings panel itself translated)zh-CN.json, system-locale detectionPR 1 is the important one: it changes no existing behavior (still English by default), so risk is minimal, yet it unblocks parallel translation work by others.
Acceptance criteria
Risks
What I can do
If the direction is acceptable, I'll start with PR 1 (scaffolding + test + settings entry) and follow the three stages above. It would help to know where the desktop renderer lives and which module the settings entry should go into.
(Paths above are illustrative — I couldn't locate the desktop source in the public tree, so treat them as placeholders.)
xiaojiaozid-byte commentedon Dec 3, 2026
zc!zc!zc!