T
Twenty4w ago
Prince

Translation to other languages

Hi there! I'd like help translate Twenty on Russian. How i can help with them?
19 Replies
Prince
PrinceOP4w ago
How can i help with handle translation? Or i need translate file manually (https://github.com/twentyhq/twenty/tree/main/packages/twenty-front/src/locales) ping @prastoin ping
Prastoin
Prastoin4w ago
Hello @Prince, We're using lingui to handle translations You can find translation related closed pull-request here to get inspiration from Depending on the language you wanna add it might already be available check here
Prince
PrinceOP4w ago
Hi! Did I understand correctly that I need to download the file, translate it into the language I need and send it to you?
Prastoin
Prastoin4w ago
Unfortunately translations are a very recent addition to the project, explaining why for the moment we do not have official documentation on how to contribute, might be quite complicating if you do not have experience with git Anyway honestly manually translating such trad file is very painfull, for the moment we've been using AI to do so and so on
Prince
PrinceOP4w ago
I'd like to help with translate to russian 🙂 I could validate translation after AI or i can really work with file - is not a problem. I like your solution, could help with translation @prastoin ping 🙂
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
You can do something similar to this
Prince
PrinceOP4w ago
@bob Can i write first version of translation and after update? Or i need test version on my local copy and after pull finished version? Cause i use decker on vps for deploying Twenty. I don't know, can i upload file for tests. I need see words on UI for context understanding
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
I guess you can locally translate them, upload them to your VPS and reload app in order to apply changes I'm not entirely sure if it'll work as I'm using local setup
Prince
PrinceOP4w ago
We need comment @prastoin . I not sure that i can upload internal docker( I deploy project's image from docker hub. i think, that will fastly if we will upload file ,po with new language to git. I'm almost done.
Prince
PrinceOP4w ago
The Second question: How we could test translate for cloud version? If i understand correctly, file has words for cloud version too. But i don't use it. How we could test and fix correct words for context?)
No description
Prince
PrinceOP4w ago
I finished :))
Prastoin
Prastoin4w ago
Hello @Prince, thanks for your work, will give it a try on monday tomorrow. Have a nice weekend
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
Is it for frontend or backend?
Prince
PrinceOP4w ago
front
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
FYI, there are translations in both frontend and backend
Prince
PrinceOP4w ago
that all use this file for translation or project has any other files which i need to translate?
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
There are 2 separate files, for frontend it's stored in packages/twenty-front/src/locales, for backend it's stored in packages/twenty-server/src/engine/core-modules/i18n/locales
Prince
PrinceOP4w ago
Thanks a lot, i will check second file and translate 🙂

Did you find this page helpful?