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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -