Skip to content
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

failedLoginMessage should be translated, too. #647

Closed
wants to merge 2 commits into from
Closed

Conversation

rarog
Copy link

@rarog rarog commented Aug 3, 2016

If this isn't the intended way of translation, this should be changed nevertheless, as it is of now, the translation is omitted.

@rarog
Copy link
Author

rarog commented Aug 10, 2016

If this way is wrong and you want to stick to phtml, another way in _form.phtml is possible, though it would still be somewhat hackish:

`

getMessages(); if (is_array($messages)) { foreach ($messages as $key => $val) { $messages[$key] = $this->translate($val); } $element->setMessages($messages); } ?>`

@rarog rarog closed this Mar 30, 2020
@rarog rarog deleted the 1.x branch March 30, 2020 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant