Date: prev next · Thread: first prev next last
2026 Archives by date, by thread · List index


Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> writes:

If you translate the slug, you need to use the matching one in the 
internal links as well. But it is not required to translate the slug, if 
you don't want to.

Are you sure that you need to translate the links as well? I tested it
locally with the esperanto translation where I’ve only translated the
slug names and not the links. The generated HTML has the correct links
with the translated slug names. I wonder if Hugo is doing something
clever to detect when you make a link to a Markdown file with a
different slug name in the header. Maybe it just automatically rewrites
all the links in that case.

– Neil

-- 
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.