feat(ui): Add multi-language support for kopia-ui#241
feat(ui): Add multi-language support for kopia-ui#241lupusA wants to merge 28 commits intokopia:mainfrom
Conversation
|
This is promising, i took it for a quick spin. Some first impressions/questions/ideas:
|
… into add-language-support
|
@lupusA this is looking very nice, I found a few minor things:
|
| @@ -0,0 +1,96 @@ | |||
| { | |||
| "tab.preferences": "Preferencias", | |||
| "tab.repository": "Repositorio", | |||
There was a problem hiding this comment.
| "tab.repository": "Repositorio", | |
| "tab.repository": "Depósito", |
There was a problem hiding this comment.
I guess either one works.
| "tab.repository": "Repositorio", | ||
| "tab.tasks": "Tareas", | ||
| "tab.policies": "Políticas", | ||
| "tab.snapshots": "Instantáneas", |
There was a problem hiding this comment.
Not sure what a good word would be here, but "Instantáneas" does not work.
I would probably say something like "copias de respaldo"
| "snapshot.header.snapshot.next": "Siguiente instantánea", | ||
| "snapshot.header.snapshot.last": "Última instantánea", | ||
| "snapshot.header.snapshot.size": "Tamaño", | ||
| "snapshot.header.snapshot.owner": "Propietario", |
There was a problem hiding this comment.
this is shorter
| "snapshot.header.snapshot.owner": "Propietario", | |
| "snapshot.header.snapshot.owner": "Dueño", |
|
|
||
| "user.interface": "Interfaz de usuario", | ||
| "user.interface.appearance": "Apariencia", | ||
| "user.interface.appearance.hint": "Selecciona el tamaño de fuente", |
There was a problem hiding this comment.
| "user.interface.appearance.hint": "Selecciona el tamaño de fuente", | |
| "user.interface.appearance.hint": "Selecciona el tamaño de letra", |
| "repository.event.connection.disconnect": "Desconectar del repositorio", | ||
| "repository.event.description.update": "Actualizar descripción", | ||
| "repository.feedback.description.required": "La descripción del repositorio es obligatoria", | ||
| "repository.feedback.read.only": "El repositorio es de solo lectura", |
There was a problem hiding this comment.
| "repository.feedback.read.only": "El repositorio es de solo lectura", | |
| "repository.feedback.read.only": "El repositorio es de sólo lectura", |
There are a couple of things that aren't perfect right now. I will try to fix them first and add them to the list. Cheers, |
…ant code change anymore.
|
Could you kindly consider adding support for Korean as well? I'll be responsible for translating into Korean. |
|
Hi @NavyStack, supporting additional languages will be easy. You just have to create a PR with the translation and a little adjustment to the language.json file. Thats all :-) |
|
Thanks! I will make a PR soon. |
By the way, japenese will be added in the initial commit. But it will be a machine-based translation :-) Cheers, |
|
考虑中文么 |
|
I can be responsible for translating Simplified Chinese. |
|
I will work on it again next week. I am currently busy in private matters. I need to refactor the translation keys again, to provide a good basis for further translations. @NavyStack |
|
@lupusA , Cheers. |
|
@lupusA I will be reset hard from English key. |
I think naming needs to follow certain international norms because a language may have multiple variants for example, English -> en-US / en-UK |
|
Please consider adding Catalan language too |
Hopefully, i can work on this PR in the next months again. Currently, i do not have the spare time to work on it. However, the underlying code basis should still work :-) |


Hi,
this PR adds the multi-language support feature to
kopia-ui. Users can select their language in the preference tab.The following languages are supported:
This PR also adds new libaries and dependencies (i18next, react-i18next, i18next-http-backend)
The PR will close kopia/kopia#3708 and has a dependency to kopia/kopia#3768.
Tasks to be resolved:
Cheers,