Skip to content
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

Implement a script to automatically download translation files from Transifex #14904

Closed
jeremystretch opened this issue Jan 23, 2024 · 3 comments
Labels
type: housekeeping Changes to the application which do not directly impact the end user

Comments

@jeremystretch
Copy link
Member

Proposed Changes

Part of the translation process entails downloading translated string maps from Transifex locally and generating their respective machine object (.mo) files. A separate file must be downloaded for each translated language. This is currently a manual process.

To make this process faster and less error-prone, we should implement a script to automatically download and compile the translation files for commitment to the code base. The Django project utilizes a script that we can probably borrow.

Justification

Automating this process will greatly simplify it and greatly reduce the likelihood of errors.

@jeremystretch jeremystretch added type: housekeeping Changes to the application which do not directly impact the end user status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Jan 23, 2024
@KongNan
Copy link

KongNan commented Jan 24, 2024

Maybe the transifex and github solutions will help.

BTW: It's great to see that you are adding more languages to transifex, and we Chinese speakers are looking forward to it and want to contribute !

@jeremystretch
Copy link
Member Author

Maybe the transifex and github solutions will help.

I had passed on the GitHub integration initially because I'm worried about the amount of noise it may generate. We generally need to merge translations only as part of the release process, as opposed to automatically in response to changes or at a set interval. But maybe it's worth experimenting with to see if we can come up with a workable configuration.

@jeremystretch
Copy link
Member Author

I think we have this integration working now.

@jeremystretch jeremystretch closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
@jeremystretch jeremystretch removed the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: housekeeping Changes to the application which do not directly impact the end user
Projects
None yet
Development

No branches or pull requests

2 participants