E-mails confirmations should be sent in user account language (if he set one) NOT a administrator language that he is currently using to browse the site.

Comments

webflo’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Component: Menus » Miscellaneous
Category: bug » feature
batigol’s picture

@webflo thx!

So

Also e-mails confirmations should be sent in user account language (if he set one) NOT a administrator language that he is currently using to browse the site.

is not a issue any more, but did you test

Configuration/Account settings/E-mails - ACCOUNT CANCELLATION CONFIRMATION [admin/config/people/accounts]

This e-mail notification is not translatable. There is only 1 version for all your languages so if you set it in English all other languages will use English.

??

Also when I tried copy your git

Clone failed. Cannot determine HEAD. See console output for details. (fatal: Couldn't find remote ref HEAD)

edit:

From http://git.drupal.org/sandbox/webflo/1411512
* [new branch] 7.x-1.x -> origin/7.x-1.x
fatal: Couldn't find remote ref HEAD

webflo’s picture

Use git clone --branch 7.x-1.x http://git.drupal.org/sandbox/webflo/1411512.git i18n_user to clone the repository.

jose reyero’s picture

Title: ACCOUNT CANCELLATION CONFIRMATION e-mail is not translatable » User emals are not sent in the user's language (e-mail is not translatable)

Changing to a more generic title, since this is an issue with most emails.

jose reyero’s picture

Title: User emals are not sent in the user's language (e-mail is not translatable) » User e-mails are not sent in the user's language (e-mail is not translatable)
ludo.r’s picture

I confirm this functionnality does not work.
Emails are not sent in the user's preferred language.

In my case they are sent in english, although i disabled english for my project.

I don't know if it's a i18n or Drupal core related issue.

EDIT : nevermind, using variable translation does the trick : http://drupal.org/node/1113374

jose reyero’s picture

Assigned: Unassigned » webflo
Status: Active » Postponed (maintainer needs more info)

Not too much feedback here :-(

@webflo, do you want to publish that one or add it into i18n_contrib package?

jose reyero’s picture

Title: User e-mails are not sent in the user's language (e-mail is not translatable) » New module: User mail translation. (Send User e-mails in the user's language)
Status: Postponed (maintainer needs more info) » Fixed

After discussing it with @webflo on IRC, added it as a submodule of i18n (i18n_user).

Two minor changes only:
- Module name: User mail translation.
- Added install file. (Module weight:) -10000 (So it runs before other modules implementing hook_mail_alter)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

edit