-
Notifications
You must be signed in to change notification settings - Fork 575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support multilingual menu display using i18next (supports Chinese and English) #991
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I’ll take a look at this soon. In general I haven’t thought a ton about the internationalization strategy - curious what people have seen work in the past. Just using internationalized strings when developing and letting the community translate as follow-ups?
Thanks for the response! I’m currently promoting the Roo Code plugin to my colleagues, and in order to help everyone better understand the meaning of the menu settings, I’ve implemented internationalization. I personally believe that using internationalized strings during development helps developers from different countries better understand the meaning of the menu settings. |
I found a i18n ready project, https://gitee.com/coolcline/coolcline/blob/develop/assets/i18n/zh.json |
Description
Type of change
How Has This Been Tested?
Checklist:
Additional context
Roo Code settings menu supports multiple languages
Related Issues
Reviewers
Important
Adds multilingual support using i18next, with English and Chinese translations, and updates components to utilize translation keys.
i18next
andreact-i18next
for multilingual support inindex.tsx
.en.json
) and Chinese (zh.json
) translations inwebview-ui/src/i18n/locales/
.i18n/index.ts
.SettingsView.tsx
,PromptsView.tsx
,McpView.tsx
, and others to useuseTranslation
for text.HistoryView.tsx
,McpToolRow.tsx
, andApiConfigManager.tsx
.i18next
andreact-i18next
topackage.json
dependencies.package.json
to bumptypescript
version.This description was created by
for 91aff1e. It will automatically update as commits are pushed.