carta
pylupdate5(1)

pylupdate51

Create or update qt linguist translation files for pyqt5 applications

Usage

pylupdate5 [OPTION] ... PROJECT-FILE

pylupdate5 [OPTION] ... SOURCE ... -ts TRANSLATION-FILE ...

Overview

pylupdate5 reads a qmake project file (.pro), finds the translatable strings in the specified sources and updates the translation files (.ts files) specified in it. The translation files are given to the translator who can use Qt Linguist to read the files and insert the translations.
The .ts file format is a simple human-readable XML format that can be used with version control systems if required.

Options

-help

Show a summary of the options.

-version

Display the version of pylupdate5 and exit.

-verbose

Explain what is being done.

-noobsolete

Drop all obsolete strings.

-tr-function name

Specify name of function that should be used instead of tr().

-translate-function name

Specify name of function that should be used instead of translate().

History

  • Debian 13 (Trixie) to Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)

-tr-function since Debian 9 (Stretch); -translate-function since Debian 9 (Stretch).

Author

This manual page was written for Debian GNU/Linux by Torsten Marek <[email protected]> and Dmitry Shachnev <[email protected]>, but may freely be used by others.

From pyqt5-dev-tools 5.15.11+dfsg-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.