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


On 5/5/26 16:36, drodriguez@libreoffice.org wrote:
El 05.05.2026 02:41, Ilmari Lauhakangas escribió:
I now made the header blog link translatable.

Ilmari

I’m not sure we are fully understanding each other, so I’ll try to explain more clearly.

I can see now that it is possible to translate the word “Blog.” However, what I am looking for is the ability to change the link itself. For example, instead of pointing to https://blog.documentfoundation.org, it would point to https://es.blog.documentfoundation.org.

https://git.libreoffice.org/infra/libreofficeorg/+/d0e5c37184b9fe214c88886a3d15f925d22796c9%5E%21

https://translations.documentfoundation.org/translate/website/libreofficeorg/en/?checksum=2de3884da9491eb1

We are fully understanding each other, but there was an issue with Weblate and the translated strings were not updated as usual.

Also, while we are talking about links, in the past (in SS) it was possible to customize the URL paths (slugs). Now, even if the link text can be translated — for example, “Download” to “Descargar” — the link still points to /download.

From my point of view, this is not ideal, and it feels like a step backward compared to the previous functionality.

This would indeed be supported by adding 'slug' into the front matter section of the Markdown files: https://gohugo.io/content-management/urls/#slug

Things that would need solving:

- Where do we define the slug, so it is relayed by the translation tooling to the front matter of the page (otherwise it gets overwritten by the generation step)? Probably hugo-gettext code needs to be changed https://invent.kde.org/websites/hugo-gettext/
- How to adapt the language selector template code?

I have to focus on other things now for the next couple of weeks. Feel free to work on these, if you like.

Ilmari

--
To unsubscribe e-mail to: website+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/website/
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.