A library to manipulate gettext files
http://bitbucket.org/izi/polib/
polib allows you to manipulate, create, modify gettext catalogs (.pot, .po and
binary .mo files). You can load existing files, iterate through it's entries,
add, modify entries, comments or metadata, etc... or create new po/pot files
from scratch.
polib provides a simple and pythonic API, exporting only two convenience
functions 'pofile' and 'mofile', and the 4 core classes: POFile, MOFile,
POEntry and MOEntry for creating new files/entries.
- Developed at devel:languages:python
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/python-polib && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
polib-1.1.0-fix-tests-big-endian.patch | 0000000898 898 Bytes | |
polib-1.2.0.tar.gz | 0000161658 158 KB | |
python-polib.changes | 0000008542 8.34 KB | |
python-polib.spec | 0000002981 2.91 KB |
Revision 25 (latest revision is 27)
Ana Guerrero (anag+factory)
accepted
request 1129236
from
Dirk Mueller (dirkmueller)
(revision 25)
- update to 1.2.0: * Added setter for the fuzzy property * Escape/unescape ^k, ^h and ^l * Added path to error message processing parser symbols * Ensure empty previous values for msgid and msgstr are properly saved * Fixed relative ordering of comments and translator comments * Do not count obsolete entries in fuzzy() method * Close files properly * Fixed support for loading mo files from bytes object * Fixed msgstr_plural comparison * Simplified python version check * Updated docs endian_magic.patch
Comments 0