wichert / lingua

Translation toolkit for Python
Other
46 stars 32 forks source link

New options to sort the generated POT file #51

Closed lelit closed 9 years ago

lelit commented 9 years ago

These options improve friendship with version control tools, because the order of the messages in the generated POT file become stable and predictable, even when sources are visited in different order, or new sources are added.

This enhance drop-in compatibility with Babel too.

wichert commented 9 years ago

Thanks! Stabilising the message order is definitely something that should have been done a long time ago. I've changed the options used a little bit to match xgettext.

wichert commented 9 years ago

FYI: I finally got around to make a release with this change. Version 3.8 is now up on pypi.