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

Empty .po files #1469

Open
BathoryPeter opened this issue May 8, 2023 · 2 comments
Open

Empty .po files #1469

BathoryPeter opened this issue May 8, 2023 · 2 comments
Labels
Accepted Accepted issue on our roadmap Bug A bug

Comments

@BathoryPeter
Copy link

Some of the .po files in the /locale/ directory is empty, containing only the header, while translation is ready on Transifex. For example hu, hr and zh_TW are affected.

For example look at the Hungarian .po: https://github.com/readthedocs/sphinx_rtd_theme/blob/master/sphinx_rtd_theme/locale/hu/LC_MESSAGES/sphinx.po
and Transifex (translated a year ago): https://app.transifex.com/readthedocs/sphinx-rtd-theme/language/hu/

@BathoryPeter BathoryPeter added Bug A bug Needed: replication Bug replication is required labels May 8, 2023
@benjaoming
Copy link
Contributor

Thanks for reporting this, looks like a potentially long-standing problem in the tooling.

@benjaoming benjaoming added Accepted Accepted issue on our roadmap and removed Needed: replication Bug replication is required labels May 8, 2023
@benjaoming
Copy link
Contributor

I can see in our .tx/config that we are using the old Transifex client. API access was switched off at some point in 2022.

The new client is easy to upgrade to, it's described here: https://developers.transifex.com/docs/cli

No matter if using the old client with some API breakage caused the empty .po files, we need to switch to the new Transifex client. Using the old one doesn't work anymore.

I switched Transifex client on another project recently, and I used the Docker-based recipe since I don't like downloading unsigned, unhased binary blobs and executing them locally 😇 But the Docker image worked well: https://github.com/transifex/cli#running-from-docker-beta

@benjaoming benjaoming mentioned this issue May 17, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Bug A bug
Projects
None yet
Development

No branches or pull requests

2 participants