Interesting. I will try to replicate that. Can you give me a couple of examplesso how I can duplicate that. Every time I talk to somebody with the problem I never get a good idea of what I need to do to make it happen.
I just read through the rest of the thread and I will take a look for you I'm out of town at the moment so it's a little hard to look at the code but I will do my best to get back to you guys
Nothing complicated: "Password/Pin Settings" -> "Send Password Reset" checkbox ->"Update"
I get a messages on the page
Success box: "Password updated. Password reset sent."
Danger Box: "Confirm New Password { Missing Text }"
And then receive an email with the body
"{ Missing Text }
{ Missing Text }: Username
{ Missing Text }: { Missing Text }
{ Missing Text }
{ Missing Text } 15 { Missing Text }."
Thanks for your help. In the mean time I just hardcoded the confirmation email to English.
06-19-2019, 09:15 PM
(This post was last modified: 06-20-2019, 01:01 PM by Brandin.)
While I discovered an issue with the admin password reset (links never working) I was unable to reproduce the above. Have you run users/update.php? You may need to download the latest language files, but those particular items should've been in there for some time now, basically since the language update.
Brandin.
I'm almost curious to think you have some sort of permission issue on your system, including a misconfiguration around including or requiring files.
Can you tell me where lang() is defined so I can investigate further?
users/helpers/us_helpers.php
Ok weird... everything appeared normal at first glance, then I got desperate and dumped out the $lang variable
["ACCOUNT_USER_ADDED"]=> string(15) "New user added!" ["ACCOUNT_SPECIFY_USERNAME"]=> string(26) "Please enter your username" ["ACCOUNT_SPECIFY_PASSWORD"]=> string(26) "Please enter your password" ["ACCOUNT_SPECIFY_EMAIL"]=> string(31) "Please enter your email address" ["ACCOUNT_INVALID_EMAIL"]=> string(21) "Invalid email address" ["ACCOUNT_USER_OR_EMAIL_INVALID"]=> string(36) "Username or email address is invalid"
I think this is the old dictionary? That would explain why it can't translate any of the keys. Doesn't explain where it's coming from or why it's getting loaded instead of the newer one.