$ publican update_pot
pot
. The pot
subdirectory holds a POT file for each XML file in the document. If Publican has created POT files for this document previously, Publican updates the existing POT files to reflect any changes in the XML since the POT files were last updated.
$ publican update_po --langs=language_code
language_code
is the code for the target language. Refer to Appendix D, Language codes for more information about language codes. You can provide multiple language codes, separated by commas, to generate PO files for more than one language at a time. For example:
$ publican update_po --langs=hi-IN,pt-BR,ru-RU,zh-CN
--langs=
option. This subdirectory holds a PO file for each POT file in pot
subdirectory. If Publican has created PO files for this language previously, Publican updates the existing PO files to reflect any changes in the POT files since the PO files were last updated. You can update existing PO files in every subdirectory with the --langs=all
option:
$ publican update_po --langs=all
pot
directory, whether the POT file is based on a corresponding XML file that is used in the document or not, or whether a corresponding XML file even exists. If you transform POT files for unused or deleted XML files into PO files, you waste the time and effort of volunteer translators, and waste money if you are paying for translations.
$ publican build --formats=html,html-single,pdf --langs=is-IS,nb-NO
$ publican package --lang=is-IS
--langs=all
option, but note that you must package each language individually. Refer to Section 3.4, “Building a document” for more information on building a document, and Section 3.5, “Packaging a book” on packaging a document.