Repository navigation
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
translations
Describe the bug
In the Spanish community translation of the base email theme
(themes/src/main/resources-community/theme/base/email/messages/messages_es.properties),
five messages append a literal minutos right after the link-expiration placeholder.
That placeholder ({3} or {4}, depending on the key) is not a raw number — it is the
fully formatted expiration period produced by linkExpirationFormatter, which already
includes the localized unit, e.g. 5 minutos, 12 horas, 1 día.
Affected keys:
emailVerificationBody/emailVerificationBodyHtml—Este enlace expirará en {3} minutos.passwordResetBody/passwordResetBodyHtml—Este enlace expirará en {3} minutos.executeActionsBody—Este enlace expirará en {4} minutos.
The remaining keys in the same file already use the correct form (e.g.
executeActionsBodyHtml: Este enlace caducará en {4}.), and a sweep of all 37
community translations for a literal time unit following the formatted placeholder
shows Spanish is the only affected language.
Version
main (c50bfbdd2a); long-standing (already present before the 2025 Weblate updates).
Regression
- The issue is a regression
Expected behavior
Este enlace expirará en 5 minutos.
Actual behavior
Este enlace expirará en 5 minutos minutos.
And when the lifespan does not resolve to minutes, the literal unit is plainly wrong —
a 12-hour lifespan renders:
Este enlace expirará en 12 horas minutos.
How to Reproduce?
- Set a realm's (or user's) locale to Spanish (
es). - Trigger any of: e-mail verification, reset credentials, or an admin "execute actions" e-mail.
- Read the expiration sentence in the received e-mail.
Anything else?
A reproducer for both the bug and the fix (unit-level render check plus a
docker-compose end-to-end with Keycloak 26.7.0 + Mailpit, real e-mails):
https://github.com/enoquefcd/keycloak-es-email-duplicated-unit-repro
A fix is ready: enoquefcd#9 —
I have not opened PR because I already have
2 open pull requests (#50804, #50806) and the contributing guidelines cap new
contributors at 2 open PRs.
This bug affects the e-mails our production users receive,
so if the cap can be waived for this small fix I will open the PR right away —
otherwise I will open it as soon as one of my other PRs closes.
Metadata
Metadata
Assignees
Labels
Type
Fields
Projects
- StatusShow more project fieldsDone
Activity
ahus1 commentedon Sep 24, 2026
Thanks for reaching out. The Spanish translation is managed in Weblate. The preferred way to update translations is via that UI.
https://hosted.weblate.org/projects/keycloak/-/es/
This provide the most seamless experience, and also avoids potential editing conflicts.
See more about the translation process in the
translation.mdfile.If this works for you, update the translation in Weblate, and then close this issue.
keycloak-github-bot commentedon Sep 24, 2026
Thanks for reporting this issue, but there is insufficient information or lack of steps to reproduce.
Please provide additional details, otherwise this issue will be automatically closed within 14 days.
enoquefcd commentedon Sep 25, 2026
thanks, requested via weblate: