HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

po4a-translate — Convert a PO file back to documentation format. The provided PO file should be the translation of th

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandformatpo4a-translateconvertclifilebackdocumentation
linux

Problem

How to use the po4a-translate command: 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: <https://www.po4a.org/man/man1/po4a-translate.1.php>.

Solution

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: <https://www.po4a.org/man/man1/po4a-translate.1.php>.

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}}


List all available formats:
po4a-translate --help-format

Code Snippets

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}}

List all available formats

po4a-translate --help-format

Context

tldr-pages: linux/po4a-translate

Revisions (0)

No revisions yet.