How to generate *.po files from python sources

Asked by Alexander Kabakow on 2009-11-30

software-properties package contains *.po files with comments like

#. update_days = apt_pkg.Config.FindI(softwareproperties.CONF_MAP["autoupdate"])
#: ../softwareproperties/kde/SoftwarePropertiesKDE.py:193
#: ../softwareproperties/gtk/SoftwarePropertiesGtk.py:175
msgid "Daily"

Witch tool used to create that *.po files?
It is possible to update po files using that tool?

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-properties Edit question
Assignee:
No assignee Edit question
Last query:
2009-11-30
Last reply:
2009-11-30
Ilya Barygin (randomaction) said : #1

xgettext generates .pot files, which can be copied to .po and edited with tools like poedit.

Can you help with this problem?

Provide an answer of your own, or ask Alexander Kabakow for more information if necessary.

To post a message you must log in.