rffontenelle / python-docs-tx-translations

Translating Python Docs in Transifex
https://explore.transifex.com/python-doc/
10 stars 1 forks source link

Lock fails because obsolete POT files are still tracked by git #50

Closed rffontenelle closed 11 months ago

rffontenelle commented 11 months ago

lock-translations.py compares the presence of resources in Transifex and in local cpython/Doc/locales/.tx/config file. This .tx/config is created by sphinx-intl based on the POT files present in cpython/Doc/locales/pot/. Because we track with Git all the POT files, and sphinx-intl will always list them in .tx/config, lock-translations.py is lead to consider all as ok when is not.

e.g. install/index.pot was removed from CPython, but is still present in our repo, .tx/config and therefore in python-newest project