mdbook-i18n-helpers icon indicating copy to clipboard operation
mdbook-i18n-helpers copied to clipboard

Let `mdbook-xgettext` generate a file in the same format as `msgmerge`

Open mgeisler opened this issue 2 years ago • 1 comments

Today, mdbook-xgettext outputs a PO file which looks different from what msgmerge outputs. The result is that translators get a huge diff the first time they run msgmerge. This is confusing, e.g., see the question in https://github.com/google/comprehensive-rust/pull/743#issuecomment-1571732966. It is also annoying since it prevents people from reviewing the changes.

mgeisler avatar Jun 01 '23 12:06 mgeisler

The changes for this should ideally be made in polib: https://github.com/BrettDong/polib/issues/8.

mgeisler avatar Oct 02 '23 11:10 mgeisler