-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: Support multilingual menu display using i18next (supports Chinese and English) #991
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
Conversation
|
mrubens
left a comment
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 |
|
Great, hope to merge ASAP, everyone can better use roo through their native language. |
|
@feifei325 @mrubens @cte Hello, will this PR continue to merge? |
|
@mrubens I see this PR has been sitting there for a while and conflicts are always occurring. |
|
Yes sorry, I would like to pick this up soon! Sorry for the conflicts. And I like @qdaxb's suggested approach. |
|
Working on this in other PRs, thank you! |
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.
i18nextandreact-i18nextfor 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 useuseTranslationfor text.HistoryView.tsx,McpToolRow.tsx, andApiConfigManager.tsx.i18nextandreact-i18nexttopackage.jsondependencies.package.jsonto bumptypescriptversion.This description was created by
for 91aff1e. It will automatically update as commits are pushed.