Woocommerce reset password translations
-
My site uses Woocommerce with Polylang and I have two languages setup.
In the forgot password page, when I’m in the second language, all error messages come up in the primary language (for example “Invalid username or email.”).
And after you submit the reset password form instead of showing you the “A password reset email has been sent to the email address on file…” page (https://mysite.com/my-account-lang2/lost-password/?reset-link-sent=true) it shows that page in the primary language (https://mysite.com/my-account-lang1/lost-password/?reset-link-sent=true )
After doing a lot of research to debug this I discovered that when the Polylang url modification setting is set to “The language is set from the directory name in pretty permalinks” (https://mysite.com/en/my-post/) then everything works fine (the translations come up based on the page language and you are redirected to the right page after submitting reset password).
But when the Polylang url modification setting is set to “The language is set from content” then it when viewing in the second language you get error messages in the first language, and redirected to the reset password in the first language.
Any ideas?
- You must be logged in to reply to this topic.