Make English the default UI language and translate the chat workbench
Problem
On a fresh browser profile, LoopForge opens in Chinese. The language preference is stored per browser in localStorage (loopforge.lang), and the default is zh.
The chat workbench (chatbot/) is Chinese-only, as the README notes ("the chat workbench is Chinese for now"). Switching the management UI to English does not translate it, so an English-speaking user sees Chinese on the main page.
Observed on the published image ghcr.io/tencent/loopforge:latest (currently the same build as 0.4.0):
- Open the app in a new browser profile. The UI is in Chinese.
- Switch to English with the language toggle. The management pages change.
- Open the chat workbench (for example the "新对话" home view). It stays in Chinese.
Relevant code
web/boot.js:let lang = 'zh';and theloopforge.langfallback tozh.web/i18n.jsandweb/i18n-en.js: the runtime dictionary covers the management pages only.chatbot/: no translation layer.
Proposal
- Make English the default when no preference is stored. Keep the existing toggle.
- Add a translation layer for the chat workbench, reusing the approach in
web/i18n.js, so it follows the same language setting. - Audit the English dictionary for strings that still show Chinese on the management pages.
Related: #1029 asks for a Korean locale, which would also need the same language layer.
I can contribute a PR for step 1 if the maintainers agree that English should be the default. Steps 2 and 3 are larger, and I would like guidance on whether they fit the roadmap.
Thanks for the write-up. You'd like a fresh browser to open in English when no language preference is stored, and for the chat workbench to follow that same setting instead of staying Chinese.
We've seen this and will review it along with the existing issues.
Hi,
Regarding the updates, the primary issue I see is on the home page. Specifically, this includes the home page menus and the informational message. [image: image.png][image: image.png]
Please let me know if you need any additional details.
Best regards, Manish Shrestha
On Sun, Nov 22, 2026 at 3:18 PM cocofhu00 @.***> wrote:
cocofhu00 left a comment (Tencent/LoopForge#1227) https://github.com/Tencent/LoopForge/issues/1227#issuecomment-7085947306
Thanks for the write-up. You'd like a fresh browser to open in English when no language preference is stored, and for the chat workbench to follow that same setting instead of staying Chinese.
We've seen this and will review it along with the existing issues.
— Reply to this email directly, view it on GitHub https://github.com/Tencent/LoopForge/issues/1227?email_source=notifications&email_token=AAJDJ6ICV3VWIZOC6HFBTYT52NJ27A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMBYGU4TINZTGA3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-7085947306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJDJ6KBRVVRKEEUEDAOTAT52NJ27AVCNFSNUABGKJSXA33TNF2G64TZHMYTGMJUGUYTAMJQHA5US43TOVSTWNRVGQ3TKMRQGI3TNILWAI . You are receiving this because you authored the thread.Message ID: <Tencent/LoopForge/issues/1227/7085947306 @.***>