Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Bilmar on
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
kindly bumping..I'm still not
kindly bumping..I'm still not able to translate the message typed into box under "Welcome, no approval required"
You may want to check out
You may want to check out http://drupal.org/node/313272
thanks gabriel, i'm also
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
Find variables names
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).
you can use mail edit
you can use mail edit module.
Registration Language is another good module to use along side by mail edit.
Use i18n module and then the
Use i18n module and then the User mail translation module which is included in i18n
KOBA - Drupal Webdesign & Webdevelopment
It works like a charm, thanks
It works like a charm, thanks!