The complete drupal multilingual variables list

Posted by: 
Dominique De Cooman

Here is the drupal multilingual variables list so far:

Only core and core module module multilingual variables are included.

<?php
$conf
['i18n_variables'] = array(   
  
'site_name',
  
'site_footer',
  
'site_slogan',
  
'site_mission',
  
'anonymous',
  
'theme_settings',
  
'theme_garland_settings',
  
'site_frontpage',
  
'menu_primary_links_source',
  
'menu_secondary_links_source',  
  
'contact_form_information',  
  
'user_mail_welcome_subject',
  
'user_mail_welcome_body',
  
'user_mail_approval_subject',
  
'user_mail_approval_body',
  
'user_mail_pass_subject',
  
'user_mail_pass_body',   
  
'user_mail_password_reset_body'
  
'user_mail_password_reset_subject',
  
'user_mail_register_admin_created_body',
  
'user_mail_register_admin_created_subject',
  
'user_mail_register_no_approval_required_body',
  
'user_mail_register_no_approval_required_subject',
  
'user_mail_register_pending_approval_body',
  
'user_mail_register_pending_approval_subject',
  
'user_mail_status_activated_body',
  
'user_mail_status_activated_subject',
  
'user_mail_status_blocked_body',
  
'user_mail_status_blocked_subject',
  
'user_mail_status_deleted_body',
  
'user_mail_status_deleted_subject',
  
'user_picture_guidelines',
  
'user_registration_help',
  
'blog_help',
  
'story_help',
);
?>

If you see one missing add them in the comments below, then I ll add them to the list for future copy/pasting of the multilingual varibales list.

For those who are not familiar with these variables they should be pasted in the settings.php file of your drupal installation. To see the effect you'll go to /admin/settings/site-information and fill in a site title, change the language of the site and fill in another title for the site in that language. When you switch the language you ll see the site title change too. All these variables can have multiple values according to the number of languages enabled.

For more on making drupal multilingual check out this great starters article: http://www.eangkasa.com/content/setting-multilingual-site-drupal-interna...

Comments

The complete drupal multilingual variables list

If you're trying to build a list of all variables... just do "select name from variable".

The complete drupal multilingual variables list

That would leave you with lots of variables that arent in need of translating. The purpose of this pages is to list variables that are actually worth translating. I.e. all strings and sentences that appear on the front end and some multilingual settings like the menu source settings for example.

Add new comment