i18n: add Hindi (hi) translations across all namespaces - #242
Conversation
|
Thank you for this, @bikash1376 — 1,566 lines across all seventeen namespaces is a serious piece of work, and the quality shows in the details. Hindi is a language we've had requests for. I checked it mechanically rather than by eye, since that's where locale PRs usually go wrong:
The wiring is right too: One thing before merge:
|
Adds web-app/src/locales/hi/ (17 namespace files, key-parity verified against en/) and registers hi in the language switcher and Language type. Rebased onto main @ v2.0.23; translates the 20 keys main added since this PR opened (setup.json cloudStep, chat.selectModelToChat, settings.general.preloadModelOnStartup*) and drops the stale dialogs.editMessage.title that main replaced with top-level editMessage.
5616dde to
d58b8b7
Compare
|
Thanks for the rebase, @bikash1376 — everything from last round is closed, and you went further than I asked. Dropping the stale Verified on your branch (based on
One thing to fix, and it's a single word.
|
The Hindi inspectFolder.prompt listed four of the five forbidden operations from `en`, dropping "replace". This key is not UI text: AgentTaskSuggestions.tsx passes t(task.promptKey) directly to an agent with filesystem access, so Hindi users were sending a weaker constraint list than English users. Adds रिप्लेस, matching `ru` (не заменяй) and `ja` (置換). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FgJTbWwdyx4n9WXmz7nASD
|
Thanks for turning that around so quickly, @bikash1376 — the Re-verified on your branch merged onto current
I also re-ran the enumeration audit that caught One thing left, and it isn't yours
All fourteen other locales got them in that commit; Matching the register you've used elsewhere — "openInNewWindow": "नई विंडो में खोलें",
"openInNewWindowFailed": "यह चैट नई विंडो में नहीं खुल सकी"Take or change those as you see fit — you've been a better judge of the register than I am throughout this. Rebase, add those two, and I'll merge. Apologies that Generated by Claude Code |
Adds web-app/src/locales/hi/ (17 namespace files, key-parity verified against en/) and registers hi in the language switcher and Language type.
Describe Your Changes
Adds Hindi as a new language option. All 17 locale namespaces under web-app/src/locales/hi/ are translated, and hi is registered in the language switcher and the Language type.
Went with a spoken/developer friendly register instead of formal textbook Hindi - kept common English terms (GPU, API, save, delete, etc.) as-is since that's how most Hindi-speaking devs actually talk, rather than forcing pure Hindi words for everything.
Verification