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 *.policy files πŸ“ 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 *.mo files πŸ’… 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 tell dh_translations exactly which domain to use when there's more than one candidate. it's also highkey useful for other packages when dh_translations just... 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