Process for updating translations? #9709
-
|
Hi, I'm using Django REST Framework in one of my projects, and I’ve noticed that some of the Persian (fa) translations are having typos. I’d like to help correct these translations. Could you please guide me on the proper way to contribute? Should I submit a pull request with the updated .po file or is there another process I should follow? Thanks for your great work, and I’d be happy to help improve the Persian language support! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You can follow the example of the recently merged PRs labeled "Trabslatons". It's basically a matter of updating the relevant To compile the messages, I usually run something along the lines of (converted to discussion as we don't really track translations changes in issues, and it's probably a good one to keep around) |
Beta Was this translation helpful? Give feedback.
You can follow the example of the recently merged PRs labeled "Trabslatons".
It's basically a matter of updating the relevant
.pofile and regenerating the.mofile using Django'scompilemessagescommand. Try to restrict the command to only the locale you're updating. We shouldn't have any other changes, but just in case...To compile the messages, I usually run something along the lines of
django-admin compilemessages --locale fa --ignore .venv --ignore .toxfrom the repo root.(converted to discussion as we don't really track translations changes in issues, and it's probably a good one to keep around)