Re: Documentation for Package Maintainers regarding Translations (was: General Questions about Translations and what a package maintainer has to do)

Helge Kreutzmann <[email protected]> Mon, 24 Mar 2025 18:33:19 +0000
Newsgroups gmane.linux.debian.internationalization.general,gmane.linux.debian.devel.general
Message-ID <[email protected]>
Hello Marc,
Am Mon, Mar 24, 2025 at 05:49:40PM +0100 schrieb Marc Haber:
> On Sat, Mar 22, 2025 at 06:32:54PM +0000, Helge Kreutzmann wrote:
> > Am Wed, Mar 19, 2025 at 09:44:47AM +0100 schrieb Marc Haber:
> > If you have any questions on my changes it is probably best to discuss
> > this on list. Please keep me (or -i18n) in CC, as I'm not subscribed
> > to -devel.
> 
> I think the only matter that needs discussion is whether and when to commit
> updated PO files:
> 
> Me:
> It is currently not clear how to make sure that a package maintainer does
> not forget these updates without creating lots of useless commits with new
> PO files that only differ in line number and date stamp comments.
> 
> You:
> Using no line numbers reduced this problem. Updated time stamps are no worry
> for translators (they seldomly look at them). And they do not care for
> commits - they look at master or similar or on the web pages mentioned above
> and take what they find. So the most important part is to keep this current.
> If you need this for your VCS, you can add code in your build system to
> discard po(t) file updates which only change in the date stamp.
> 
> My questions:
> "Using no line numbers" => invoke msgmerge with --no-location?

Yes.

> "Web pages mentioned above" => I don't see web pages being mentioned. That
> needs a name or a link

I meant the references to the Debian status pages, the link I inserted
further above: https://www.debian.org/international/l10n/

Please reword this to make it more clear.

> "Add code in your build system to discard po(t) that only change in the date
> stamp" => that would mak ethe source package and the tag in the VCS diverge.
> I don't like that at all.

This I don't understand.

At some stage you update the POT files. Then you run a (git) commit,
to place the updated files in your repository.

In manpages-l10n Tobias added code to detect, if only the time stamp
changed. If so, the time stamp is reverted to the previous value, and
a "git commit" is a noop. Then also the po files are left alone.

This "only" saves you a commit in this corner case. 

It is not meant to diverge version, because in the end the po(t) files
in your package should match the po(t) files in the repository.

Greetings

           Helge

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmfhpWkACgkQQbqlJmgq
5nBihBAAjbkSq4Q6RdtX2o2e/I92Jv+W3xK8tSMgj+qJTekPsmDJsGZYK1ArLNdr
H243wgIg4WVbxCHaOlLb8HGtkJOrCCV5dbioMmFz4Rx6CPTeTloG427k3OzYvRea
18eC8Aar3BrsTBMq7Sq1t36g76trc8RJStJBmWarBeoDT93nt4MYj2pqT9dsuKYD
nkiChxrZNi3FcKYa102OwtirHzh9lYXFSV4OG5NoIkSynf9Yv9EhCt61sEAsecdT
INdcnpTcNNQgTLgG0b7BYGl2bkdv3gc8L9FSyjCLewyQ234O6i/lTRbjZavFLy0S
W5KpKjSH+MWViAoI4aq2vu0W1GrBYrvU4UlQ8YZXMJPw2LcM9E+Y21gN0fCZZhDC
81m2GRjIay5xJY5cvRraqMRa4cn5Un1AGFsi68c+8fVoipicnQEmLBo3Gyo1pz0V
ycEjCsJ2StcUxpjt20wJvwmXjpXOXblji5zrLRu+g2gyETS9w5MCKY0dsDkRrfHz
RX8o3lJ4FnJM/aLz6gUcZb88jQZXznpCfFnvcnmdnSJLrGuYQHom+zH9OMpkYXGn
/rSOSHUrcugLW0qaoDwDcuYz27ky+lZHiag5tDFD6Nby7DzT6AEe469KMGlf7y8N
Xy6QAQSVHnQNkdm8QfV2XRYmpkieLM0VEnpUWMR5ATX79stZp0U=
=BLU+
-----END PGP SIGNATURE-----