DH_TRANSLATIONS(1)
π DH_TRANSLATIONS(1) π
okay bestie, so this is a page from the Debhelper manual, and it's all about dh_translations β¨
πΈ NAME πΈ
dh_translations β perform common translation related operations π
π¦ SYNOPSIS π¦
dh_translations [debhelper options]
β¨ DESCRIPTION β¨
so dh_translations is a debhelper program, and what it does is handle the everyday, common translation-ish chores while your package is being built. no cap, it just does the little gettext-lore tasks so you don't have to π«Ά
here's the tea on what it actually handles:
- it tries to build a current PO template π β and heads up, it's only dealing with the main gettext domain of the project. it does not build
help-*templates, and it does not build any other additional translation templates. just the main one, periodt. - it removes inline translations from
*.desktop,*.server,*.schemas, and*.policyfiles π and replaces them with a link to the gettext domain. why tho? because that way the strings inside those files get translated at runtime from*.mofiles π and the iconique payoff is that this lets language packs ship updated translations later. slay.
π OPTIONS π
--domain=domainβ you can hand over the gettext domain right here through this option β this is lowkey essential for packages using the Meson build system, so you can telldh_translationsexactly which domain to use when there's more than one candidate. it's also highkey useful for other packages whendh_translationsjust... can't figure out the correct domain all by itself π
π SEE ALSO π
debhelper(1)
πΈ AUTHOR πΈ
Martin Pitt <martin.pitt@ubuntu.com>
Copyright (C) 2011 Canonical Ltd., licensed under the GNU GPL v2 or later.
fr fr, that's the whole page. go forth and translate π
and that's a wrap bestie β this was DH_TRANSLATIONS(1) from Debhelper, page 158, dated 2026-06-16 π¦ bye mwah π
π¦ where this page comes from
- ubuntu stonking: dh-translations 158
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms