LinuxCommandLibrary

ppdpo

Extract translatable strings from PPD files

TLDR

Extract strings for translation

$ ppdpo -o [messages.po] [driver.drv]
copy
Extract from PPD file
$ ppdpo -o [strings.po] [file.ppd]
copy

SYNOPSIS

ppdpo [options] files

DESCRIPTION

ppdpo extracts translatable strings from CUPS PPD files or driver source files (.drv) and generates GNU gettext PO (Portable Object) files for localization. The extracted strings include option names, group labels, and other user-visible text that translators can localize into different languages.
The resulting PO files follow standard gettext format and can be edited with translation tools like poedit or Weblate. Once translated, the localized strings are compiled back into PPD files using ppdc and ppdmerge.

PARAMETERS

FILES

Input PPD or driver files.
-o FILE
Output PO file.

CAVEATS

CUPS specific. Creates gettext PO format.

HISTORY

ppdpo is part of CUPS for PPD localization support.

SEE ALSO

ppdc(1), ppdmerge(1), gettext(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community