Hello,

I was wondering if someone could point me in the right direction for translating the messages sent to users on registration.
http://example.com/drupal/admin/user/settings

Can these message be sent in a different language?

Thank you very much in advance!

Comments

Bilmar’s picture

kindly bumping..I'm still not able to translate the message typed into box under "Welcome, no approval required"

Gabriel R.’s picture

You may want to check out http://drupal.org/node/313272

miaoulafrite’s picture

thanks gabriel,

i'm also experimenting the same issue.

do you know which variables correspond to the different mails of this page (subject, body) ? (page: admin/user/settings)
so that i could populate the right settings.php file as described in your link http://drupal.org/node/313272

thanks

remaye’s picture

In my case I needed "Welcome, no approval required" subject and body variables
and I used successfully :
$conf['i18n_variables'] = array(
'user_mail_register_no_approval_required_subject',
'user_mail_register_no_approval_required_body',
);

You can retrieve any other variable by setting it to a specific value (like : "peek-a-boo!")
and use phpAdmin to search it in 'drupal_variable' table.

After reloading the "User e-mail settings" page (and maybe flushing caches... I'm not sure)
the fields added to $conf['i18n_variables'] should appear with the "This is a multilingual variable".
Then you can translate it editing the "User e-mail settings" page in each languages.

Good luck (if not done yet).

sepehr.sadatifar’s picture

you can use mail edit module.
Registration Language is another good module to use along side by mail edit.

hansrossel’s picture

Use i18n module and then the User mail translation module which is included in i18n

Richard15’s picture

It works like a charm, thanks!