logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dh_translations - perform common translation related operations

Author

       Martin Pitt <martin.pitt@ubuntu.com>

       Copyright (C) 2011 Canonical Ltd., licensed under the GNU GPL v2 or later.

156                                                2024-12-16                                 DH_TRANSLATIONS(1)

Description

       dh_translations is a debhelper program to perform common translation related operations during package
       build:

       •   Try  to  build  a  current  PO  template.  Only the main gettext domain of the project is dealt with;
           dh_translations does not build help-* templates or other additional translation templates.

       •   Remove inline translations from *.desktop, *.server, *.schemas, and *.policy files and  replace  them
           with  a  link to the gettext domain, so that strings in them will get translated at runtime from *.mo
           files.  This allows language packs to ship updated translations.

Name

       dh_translations - perform common translation related operations

Options

--domain=domain
           The gettext domain can be passed through this option. This is useful  for  packages  with  the  Meson
           build  system to tell dh_translations which domain to use if there are multiple candidates. It's also
           useful for other packages if dh_translations fails to find the correct domain by itself.

See Also

debhelper(1)

Synopsis

dh_translations [debhelperoptions]

See Also