Hi @muddasirhayat,
Thank you very much for your reply. I apologize for the delay in responding.
I am currently unable to send a video showing the steps to reproduce the issue, but I can describe them in detail:
First of all, I should mention that I am using Weglot to make my website multilingual.
I have tested two scenarios:
- The website language in the WordPress settings is set to Spanish:
- A Spanish user with the browser language set to Spanish, who therefore sees the website in Spanish, registers on the website.
- They receive an email in Spanish informing them that their registration is pending approval.
- An admin reviews the profile of this new user, sets the user’s language to Spanish, and accepts the registration.
- The user then receives the confirmation email in Spanish.
—————————————————————————————–
- A Portuguese user with the browser language set to portuguese, who therefore sees the website in Portuguese, registers on the website.
- They receive an email in Portuguese informing them that their registration is pending approval.
- An admin reviews the profile of this new user, sets the user’s language to Portuguese, and accepts the registration.
- The user then receives the confirmation email in SPANISH.
2. The language of the website in the WordPress settings is set to Portuguese:
– A Spanish user with the browser language set to Spanish, who therefore sees the website in Spanish, registers on the website.
– They receive an email in Spanish informing them that their registration is pending approval.
– An admin reviews the profile of this new user, sets the user’s language to Spanish, and accepts the registration.
– The user then receives the confirmation email in ENGLISH.
———————————————————————————————
– A Portuguese user with the browser language set to portuguese, who therefore sees the website in Portuguese, registers on the website.
– They receive an email in Portuguese informing them that their registration is pending approval.
– An administrator reviews the profile of this new user, sets the user’s language to Portuguese, and accepts the registration.
– The user then receives the confirmation email in ENGLISH.
What I need to achieve is for the message sent to the user once their registration request has been approved (or rejected) to be sent in the language in which that user registered, or at least in the language configured in their user profile.
Thank you very much for your help.
Best regards.