sphinx-intl
sphinx-intl copied to clipboard
Sphinx utility that make it easy to translate and to apply translation.
Hi, I'm a currently happy user of sphinx-intl. Thanks for investing time in the project. However, I'm reporting a potential issue. Text substitutions using "replace::" directive like those are ignored...
Thanks for all this work!! We (QGIS-project) use sphinx/sphinx-intl/transifex to build/translate our documentation Eg: https://docs.qgis.org/3.10/ja/docs/ In an earlier version of the docs we created the 'resource-keys' for transifex ourselves, and...
Currently `update-txconfig-resources` requires a tree structure of POT files as the command argument. That requires building the Sphinx documentation with `gettext` builder, which takes time. It would be cool to...
Can sphinx-intl have a [pre-commit hook](https://pre-commit.com), when `docs/*` is changed, `sphinx-intl update -p _build/gettext` will be run to update `locale/*/LC_MESSAGES`?
I often add [translator and extracted comments](https://techwriter.documatt.com/2021/gettext-po-format.html#comments) to PO files. Unfortunately, sphinx-intl update deletes these valuable comments. It would be super-useful to have an commandline option to keep them. Or...
Hi! I followed the instructions in the [Sphinx docs](https://www.sphinx-doc.org/en/master/usage/advanced/intl.html) to generate the `.pot` and `.po` files in [this repo](https://github.com/greyli/flask-docs-zh). Now after the `.rst` source has changed, I tried to update...
Added sort_output=False and sort_by_message_location=False so these flags can be controlled by users when dumping the po files manually and making use of the internal sort_output (sort the msgid alphabetically when...
Given a POT file with a message that contains a `%`, `sphinx-intl update` will produce a PO file where that message has an added `#, python-format` flag. That flag indicates...
On Windows, sphinx-intl will generate backslash path separators. To be stable .tx/config, '/' should be used for path separator.