diff --git a/pages/linux/po4a-gettextize.md b/pages/linux/po4a-gettextize.md new file mode 100644 index 000000000..a016da8bf --- /dev/null +++ b/pages/linux/po4a-gettextize.md @@ -0,0 +1,16 @@ +# po4a-gettextize + +> Convert a file to a PO file. +> More information: . + +- Convert a text file to PO file: + +`po4a-gettextize --format {{text}} --master {{path/to/master.txt}} --po {{path/to/result.po}}` + +- Get a list of available formats: + +`po4a-gettextize --help-format` + +- Convert a text file along with a translated document to a PO file (`-l` option can be provied multiple times): + +`po4a-gettextize --format {{text}} --master {{path/to/master.txt}} --localized {{path/to/translated.txt}} --po {{path/to/result.po}}` diff --git a/pages/linux/po4a-translate.md b/pages/linux/po4a-translate.md new file mode 100644 index 000000000..d092a58a4 --- /dev/null +++ b/pages/linux/po4a-translate.md @@ -0,0 +1,13 @@ +# po4a-translate + +> Convert a PO file back to documentation format. +> The provided PO file should be the translation of the POT file which was produced by `po4a-gettextize`. +> More information: . + +- Convert a translated PO file back to a document: + +`po4a-translate --format {{text}} --master {{path/to/master.doc}} --po {{path/to/result.po}} --localized {{path/to/translated.txt}}` + +- Get a list of available formats: + +`po4a-translate --help-format` diff --git a/pages/linux/po4a-updatepo.md b/pages/linux/po4a-updatepo.md new file mode 100644 index 000000000..6d1e0b671 --- /dev/null +++ b/pages/linux/po4a-updatepo.md @@ -0,0 +1,16 @@ +# po4a-updatepo + +> Update the translation (in PO format) of a documentation. +> More information: . + +- Update a PO file according to the modification of its origin file: + +`po4a-updatepo --format {{text}} --master {{path/to/master.txt}} --po {{path/to/result.po}}` + +- Get a list of available formats: + +`po4a-updatepo --help-format` + +- Update several PO files according to the modification of their origin file: + +`po4a-updatepo --format {{text}} --master {{path/to/master.txt}} --po {{path/to/po1.po}} --po {{path/to/po2.po}}` diff --git a/pages/linux/po4a.md b/pages/linux/po4a.md new file mode 100644 index 000000000..0eb7b76f1 --- /dev/null +++ b/pages/linux/po4a.md @@ -0,0 +1,8 @@ +# po4a + +> Update both PO files and translated documents. +> More information: . + +- Update PO files and documents according to the specified config file: + +`po4a {{path/to/config_file}}`