Bug#1085845: www.debian.org: Translation for navbar "Blog" "Micronews" "Planet" not effective outside homepage

Boyuan Yang <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Organization Debian Project
Message-ID <7b521c64842705f56df27b29238f00b411e47432.camel__2208.6603495822$1729626688$gmane$org@debian.org>
Package: www.debian.org
X-Debbugs-CC: [email protected]

In https://www.debian.org/index.nl.html , the three links at the top
"Blog" "Micronews" "Planet" are correctly translated as "Blog" "Micronieuws"
and "Planeet". However in https://www.debian.org/contact.nl.html , these
translations are missing and only English strings appear.

Looking into english/template/debian/navbar.wml , these strings are
gettextized here:

https://salsa.debian.org/webmaster-team/webwml/-/commit/c3ae3b45654a77f9ba5eb51b4e0ad21841b7e9b9

The translated strings are placed under po/homepage.pot . However, the new
navbar is also used outside of our homepage. Perhaps this is causing webpages
that are not homepage to be missing this translation.

I tried to dig into english/template/debian/ directory but do not have a
good understanding on why translations from po/homepage.*.po is not read.
If anyone has some good idea, please feel free to fix it. My rough solution
would be moving their gettext domain to "templates" instead of "homepage".

Thanks,
Boyuan Yang
signature.asc (application/pgp-signature, 858 B)
-----BEGIN PGP SIGNATURE-----

iQJFBAABCgAvFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmcYAfkRHGJ5YW5nQGRl
Ymlhbi5vcmcACgkQwpPntGGCWs5VKw/+IQ16k3PZyOjxqFYizZK82diFeinSxzx5
FUbRRKGA0ThjloGmEhEKniWS/V5IdByZCEmiZG4xkF+hOKEWL3lPhW1x2FTj80dj
gpmureFATm0nDJkLTgDMhIj5pTXMycBnADs+rBH8OYxDEbu234bgRnpUrVynaqeb
zT5AkkP4C8RzIgEsc/MFvTyZ3iBc15xuZULyZtsMrYWZYOLhB4qFeUpa5kLBA7L+
8lzTKAIUnOCG5queOSXWIXA1znkS9WaP6AJ+zYz3pc4C0N8J+MCGVsim2Di64r+p
S2hSAIPKmrhBNe51fTEaGOxYmti1G2N6E+4LKqQq19n8uCR/TSkhOkco2T9czJo3
fT3qY5DZS76l34UJl8fKiskFb5rXn0C0PYHUqRlSdf06KYdvR2lLjoAi/0nKyB20
DCpobf8K4prJpTPLWqIRn6vc7ns1dK5wKRZGvZiDrBnxQQ6Cjv7t5x1T5SxcOxq5
7xMpVsTla5iC7c0C0tl8JwwTykXZBe8opDTBGwKfOSZJ41ANtD3zeVjDBWmTjY2i
e4Hf95A/PLFn7VW51dkRCiJoymHHyqebNz108540yPWWdbhTbse0VykuFt/U3aoW
CTqqphPbV2aECsLwgiFhOy8SQE73qXwD8hRzs+T58Kl9CTVZKr2xkxh23MJO+HnL
1UncK+y0iXE=
=OrGh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.