On 5/23/26 11:54, Neil Roberts wrote:
Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> writes:
So we need to remind translators *not* to translate the slugs in the
links or it will break.
Or we just drop the .md suffix? Probably it's not needed after all.
Yes, I guess that would work, but it would just be a shame that we
wouldn’t be able to test the translations with a local build any more.
It seems like the most robust approach is to just avoid translating the
links and only translate the stub names.
I can imagine if multiple people are translating the website then it’d
be very easy to make a mistake and translate the link differently in
different places. It also means that if someone wants to change the slug
names later they can do it in one place without having to also update
all the links.
Yes, that's a good point about minimising churn, if wanting to change
the slug translation.
Still, I wondered, if it would be possible to handle cases where someone
accidentally translated the link in the content and so I created this
change to the link render hook:
https://gerrit.libreoffice.org/c/infra/libreofficeorg/+/205577
Esperanto preview: https://newdesign2.libreoffice.org/changes/205577/eo/
Can you test it locally and see that nothing is broken?
If it works fine, probably it could then be merged alongside a
mass-removal of the .md suffix for simplification.
Ilmari
--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.