-
-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't localise login:form errror/succes messages #7890
Comments
@jacksleight found out a little more:
I can work around this particular issue as theres only error/succes message anyway, but still a bug I guess :-). Setting the |
An idea for a fix: #7892 (comment) |
A final thought on the closed PR's that turned out not to be a full solution to the problem: it does seem a solution for folks not running multisite and not having English as their primary language. It wouldn't hurt others and make this bug less impactful. |
Bug description
I'm trying to localise the error and success message in
{{ user:login_form }}
but they remain English. I've tried to add the strings to mynl.json
file but that doesn't seem to work.My sites.php:
Marco Rieser suggested to rename
nl.json
tonl_NL.json
and add'lang' => 'nl_NL'
to my default site. But that also doesn't work and it breaks all other localisable template strings.How to reproduce
Use
nl_NL
as a localeAdd a user login form
Add those strings to the nl.json file:
Note: the field does get translated when I add it to
en.json
(but obviously it shouldn't pick up that one).Or DM me for repo access.
Logs
No response
Environment
Installation
Starter Kit using via CLI
Antlers Parser
runtime (new)
Additional details
No response
The text was updated successfully, but these errors were encountered: