qilinguist.qigettext – Tools for gettext¶
Library to extract, generate, update and compile translatable sentences with gettext
-
class
qilinguist.qigettext.
GettextProject
(*args, **kwargs)¶ -
pot_file
¶
-
get_po_file
(locale)¶
-
mo_path
¶
-
update
()¶ Read the source files, generate the template, generate the catalogs
-
release
(raises=True)¶ Compile every catalog.
-
extract_pot_file
()¶ Extract sentence from source file and generate POT file
-
need_pot_file
(func)¶
-
update_po_file
(*args, **kwargs)¶ Update PO file from POT
-
generate_po_file
(locale)¶ Generate PO file
-
generate_mo_file
(locale)¶ Generate .mo file for the given locale
-
install
(destination)¶
-