-
- Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
Hi! I followed the instructions in the Sphinx docs to generate the .pot and .po files in this repo.
Now after the .rst source has changed, I tried to update the .po files with the following commands:
$ make gettext $ sphinx-intl update -p _build/gettext But I found some unexpected changes (flaskcwg/flask-docs-zh#35):
- Some Chinese words added as
msgidfor the API reference docs (ref). - The
msgidof alt of images was replaced with the translatedmsgstr(ref). - Some multiline
msgstrwas reordered based on the position of the English word (ref).
The last one brings quite a bit messy (see the ref for the example). Is there any method to disable the update command to change the existing msgstr? I didn't found any related issues or documentation. And the -w option only changes the max line length of msgid.
Sphinx: 4.0.2
sphinx-intl: 2.0.1
Python: 3.8 (Windows 10)
Thanks!
m-aciek