internationalization - Is there any Python package which allows parsing .po files (messages, including context comments)? -


i need merge/update/delete .po files messages , need python package allow me parse .po files including: messages, plurals, location, context , comments.

i want simple tool check differences between files. use gui done not sure if there such tool add new translation or remove not used translation.

i search articles not found how it. please recommend python package parse .po (could other language) or tool such important task keep translations.

the polib package good. parses file , presents several ways access data, including iterator loop through msgid, msgstr pairs whatever need. here quick start documentation.

it can parse .mo if .po isn't available, specially handle obsolete message strings, iterate on translated strings, , other nice features.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -