pylupdate5 - create or update Qt Linguist translation files for PyQt5 applications
Contents
Description
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.
Name
pylupdate5 - create or update Qt Linguist translation files for PyQt5 applications
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-functionname
Specify name of function that should be used instead of tr().
-translate-functionname
Specify name of function that should be used instead of translate().
Synopsis
pylupdate5 [OPTION]... PROJECT-FILEpylupdate5 [OPTION]... SOURCE... -tsTRANSLATION-FILE...
