The issues of i18n_variables have been reported before. Variable of site name, slogan, anonymous.. are working. however what i still need is the logo. The 'theme_settings' variable is mentioned in settings.php, i try to upload one image per language, however, it only displays only one

Comments

jose reyero’s picture

Category: bug » support
Status: Active » Fixed

The theme_settings may have other names depending on the theme you are using, check your variables table

Status: Fixed » Closed (fixed)

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

roychri’s picture

Uploading a new file will NOT change the value of the "Path to custom logo: " field. That is the field that is multi-lingual. If you make it a different value for each language, then when you upload it will update different files. Otherwise you keep uploading a new picture into the same file for all languages.

For example I made the French version of "Path to custom logo: "

sites/default/files/theme140_logo_fr.png

I made the English version of "Path to custom logo: "

sites/default/files/theme140_logo_en.png

And in my settings.php I had:

$conf['i18n_variables'] = array(
  'site_name',
  'theme_theme140_settings',
);