Hi,
I try to set up Forgot Password / Reset Password pages in different language.
When I submit the form in other than English (= not default), the notification email shows default, English message, while I expect it to be in the language of the page the form was submitted from, otherwise I see it pointless as people won't understand it (ok, the message language is simple, I know, but you get my point). But I cannot find the message strings in WPML string translation, so what is the workflow to have the same notification language as the page language the form was submitted from?
Regards,
Sorry, I found notifications strings in WPML string translations. But I see a big mess there (for example "Someone has requested a password reset for the following account:" is available under other than English language), so now I need to figure out why submitting password request form other than English page still triggers English notification. As I understand it shouldn't.
Hello,
I assume we are talking about the forget password form shortcode: [wpv-forgot-password-form]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-forgot-password-form
It only displays a simple form to request a user password reset.
The email body is defined in WordPress core, above shortcode won't translate the email body or trigger the English notification.
And I have tried it in my localhost, without other plugins, except Toolset plugins, it can send the email in correct language.
Then I have searched it in WPML support forum, found some related treads, for example:
https://wpml.org/forums/topic/how-to-translate-email-messages-sent-to-customers-registration-new-order/
https://wpml.org/forums/topic/how-can-i-change-edit-the-forgot-password-emails/
All says it needs to translated in WPML > String Translation, for your reference.
Hi Luo,
I tested one string, the message title. I attach screen. It is translated and translation is finalized. However, when I go to non-English page in this case and submit Get New Password form (the one that triggers sending a link to set new password), the email is still in English.
The links you provided mention some older WPML versions so I cannot find the same options in my current (the newest) WPML.
I think it could be better Toolset uses standard CRED form for this functionality (resetting password), where there is notification area for composing emails which can be easily translated.
There isn't such a feature to use Toolset form for this functionality (resetting password), Toolset edit user form requires logged-in user, it won't fit for your case.
I have tried the latest version of WPML plugins without Toolset plugins in my localhost, use the WordPress built-in reset password form, for example:
hidden link
And I get same result as you mentioned above, the email is still in English lanuage
you can test it in your own website, replace zh-hans with your own language slug.
So it seems there isn't such a built-in feature within WPML plugins, I suggest you submit a feature request in WPML.org, here:
https://wpml.org/suggest-a-new-feature-for-wpml/