-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Localization support #374
Comments
is there any progress on this issue , localization is really needed |
Looking forward to this great enhancement. |
@one-game , @yangulei , let me know if you can help us here to implement the feature. Django supports localization: https://docs.djangoproject.com/en/3.0/topics/i18n/translation/ |
JS localization: https://lingui.js.org/ |
Sorry, I'm not familiar with Django or JS. But I can help to translate English to Chinese and it's my pleasure to do that. |
Hello @nmanovic , I have worked with django and I can help with internalisation and localization of views and templates. |
@i-karen , thanks. We will be happy to accept PRs with the feature from you. |
Hello, may I ask how to translate the page into Chinese |
Hello, what is the top one priority language? Is it Chinese? |
@absolutetsonga , we want to build infrastructure. Any second language can be used for the purpose. |
@nmanovic From my research I have concluded that we would have to build an i18next implementation for cvat. Then we can translate for every locale. |
@m-sameer @nmanovic We can inject the
For Example, Modal.confirm({
title: 'title',
...
})
// ->
Modal.confirm({
title: /*i18n-1*/ t('title'),
...
}) <Text>Foo</Text>
<Text>{ /*i18n-2*/ t('Foo')}</Text>
// ->
<Foo title="titleFoo"/>
<Foo title={ /*i18n-3*/ t("titleFoo")}/> I have write some code here |
I would like to work on this if no one is working. |
@KrishavRajSingh , sure. Could you please prepare HLD (High-Level Design) and share it with our team? It is just a presentation with some details how you want to implement the feature. When you are ready, our team can meet you and discuss the HLD. Thus, you will get feedback before you implement something. Also, on the stage you can implement a dirty prototype (MVP), just to support your ideas and check some of them. |
@KrishavRajSingh @nmanovic
|
Thanks for this. |
Hey, I have opened a disussion regarding this. You may check #7975 or if there is any other way, you can tell me and I will share the details there. |
Translate UI and all error messages to different languages and provide a way for users to choose a language. As first step need to support:
The text was updated successfully, but these errors were encountered: