PYLUPDATE5(1)
π PYLUPDATE5 β okay bestie, let's talk translations β¨
Hi hi! So this is the manual page for pylupdate5, living in section 1 of the General Commands Manual. It's a little command-line cutie and I'm obsessed with her, fr fr. π
πΈ NAME πΈ
pylupdate5 β create or update Qt Linguist translation files for PyQt5 applications π
π¦ SYNOPSIS π¦
pylupdate5 [OPTION]... PROJECT-FILE
pylupdate5 [OPTION]... SOURCE... -ts TRANSLATION-FILE...
Two whole moods, pick your fighter. π
β¨ DESCRIPTION β¨
So here's the tea: pylupdate5 reads a qmake project file (that's the .pro file, bestie), finds all the translatable strings in the sources you specified, and then updates the translation files (the .ts files) that are listed inside it. Then those translation files get handed off to a translator, who can open them up with Qt Linguist to read everything and insert the actual translations. π
And the .ts file format? It's a simple, human-readable XML format β which means yes, you can absolutely throw it in your version control system if you want to. No cap. π
π OPTIONS π
-helpβ shows you a little summary of all the options. The "what's going on" button. π«Ά-versionβ displays the version ofpylupdate5and then exits, immediately, no further questions. π-verboseβ explains what's being done while it's being done. Narrator mode: ON. π£οΈ-noobsoleteβ drops all the obsolete strings. Gone. Bye. π-tr-functionname β specifies the name of the function that should be used instead oftr().-translate-functionname β specifies the name of the function that should be used instead oftranslate().
Heads up bestie: name is a placeholder, so swap in your actual function name. Keep it exactly as-is otherwise! β
π AUTHOR π
This manual page was written for Debian GNU/Linux by Torsten Marek <shlomme@debian.org> and Dmitry Shachnev <mitya57@debian.org> β but it may freely be used by others. Generous queens, honestly. π«Άβ¨
And that's the whole page, babe! This one's from pylupdate 5.4, dated 2015/01/16 β like, vintage but still iconic. Now go forth and translate. Slay. ππ¦πΈπ
π¦ where this page comes from
- debian bookworm: pyqt5-dev-tools 5.15.9+dfsg-1 Β· GPL-3.0-only
- debian trixie: pyqt5-dev-tools 5.15.11+dfsg-2 Β· GPL-3.0-only
- ubuntu jammy: pyqt5-dev-tools 5.15.6+dfsg-1ubuntu3 Β· GPL-3.0-only
- ubuntu noble: pyqt5-dev-tools 5.15.10+dfsg-1build6 Β· GPL-3.0-only
- ubuntu questing: pyqt5-dev-tools 5.15.11+dfsg-2ubuntu1
- ubuntu resolute: pyqt5-dev-tools 5.15.11+dfsg-3build3 Β· GPL-3.0-only
- ubuntu stonking: pyqt5-dev-tools 5.15.11+dfsg-6 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms