Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#29231 closed feature request (wontfix)

registration on multilingual WP sites

Reported by: summoner's profile summoner Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.2
Component: General Keywords:
Focuses: Cc:


I have a WP3.9.2 site that is multilingual. When a user tries to register, they can change the language of the registration page just as expected. This way they can read the field labels in their own language, which they understand. But WP sends all the email messages in WP's default language (my case english) regardless of which language has been chosen to register by the user. This way if a user does not speak english they will not understand what is inside the email messages.

I think you could add a new hidden field to the registration form where all the different translation plugins could store the language code chosen by the user and when sending the emails, WP could use the value of this hidden field to generate even the email messages in the right language.

Or perhaps you can think of an even better solution.
(If it does not qualify as a bug, please handle it as a feature request and assign it to the right developer)

Change History (3)

#1 @summoner
10 years ago

Or alternatively you could have an option under settings > general where admins could select an option if their site is multilingual. In that case WP could render a drop-down box on the registration (or even on login) page(s) and that data would be saved to usermeta table. This way WP could generate the email messages in the proper language when somebody registers just as described above.

This way WP could determine which is the default language for each user after they are logged in. So each user could even get the contents of a multilingual site in their preferred language (not just in one default language set centrally in a translation plugin).

If you would lead in these new basic settings all the translation plugins could take advantage of them in a really short time and WP multilingual sites could be fine-tuned much better than now.

#2 @summoner
10 years ago

  • Type changed from defect (bug) to feature request

Any idea from other people?

#3 @DrewAPicture
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

There are hooks already in place that facilitate a plugin modifying the registration process and resulting email templates. This is plugin material.

Note: See TracTickets for help on using tickets.