Package cubicweb :: Module i18n
[hide private]
[frames] | no frames]

Module i18n

source code

Some i18n/gettext utilities.
Functions [hide private]
 
extract_from_tal(files, output_file)
extract i18n strings from tal and write them into the given output file using standard python gettext marker (_)
source code
 
add_msg(w, msgid, msgctx=None)
write an empty pot msgid definition
source code
 
execute(cmd)
display the command, execute it and raise an Exception if returned status != 0
source code
 
available_catalogs(i18ndir=None) source code
 
compile_i18n_catalogs(sourcedirs, destdir, langs)
generate .mo files for a set of languages into the destdir i18n directory
source code