i18n Package

i18n Package

Internationalization helpers

i18n Module

Internationalization utilities. Requires intltool and gettext

kiwi.i18n.i18n.check_directory(root)[source]
kiwi.i18n.i18n.check_pot_file(root, package)[source]
kiwi.i18n.i18n.compile_po_files(root, package)[source]
kiwi.i18n.i18n.get_translatable_files(root)[source]
kiwi.i18n.i18n.list_languages(root)[source]
kiwi.i18n.i18n.main(args)[source]
kiwi.i18n.i18n.update_po(root, package)[source]
kiwi.i18n.i18n.update_pot(root, package)[source]

msgfmt Module

kiwi.i18n.msgfmt.add(id, str, fuzzy)[source]

Add a non-fuzzy translation to the dictionary.

kiwi.i18n.msgfmt.generate()[source]

Return the generated output.

kiwi.i18n.msgfmt.main()[source]
kiwi.i18n.msgfmt.make(filename, outfile)[source]
kiwi.i18n.msgfmt.usage(code, msg='')[source]

Table Of Contents

Previous topic

db Package

Next topic

ui Package

This Page