The site slogan is not translatable as multilingual variable (the text "This is a multilingual variable" is not visible at all). I had to downgrade back to 6.x-1.1. version which seems to work well.

CommentFileSizeAuthor
#6 site_Slogan.png26.84 KBdroshani

Comments

forcebook’s picture

I tested and run properly!

Please read this: http://drupal.org/node/313272#comment-1741688

or

Open file /sites/default/settings.php

Go to $conf and uncomment
and write this:

$conf['i18n_variables'] = array(
  'theme_default',

and before and of config file - before ); add this

  'site_name',
  'site_slogan',
  'site_mission',
  'site_footer',
  'anonymous',
  'theme_default',
  'site_frontpage',
  // Primary and secondary links
  'menu_primary_links_source',
  'menu_secondary_links_source',
  // Contact form information
  'contact_form_information',
  'theme_settings',
  'theme_YOURTHEMENAME_settings',
  'maintenance_theme',

And back to your site and make modification

like: www.site.com/en/admin/settings/site-information (english)
like: www.site.com/it/admin/settings/site-information (Italian)

AD.
YOURTHEMENAME - specify your teheme or not work.
Clear chache before save modification.

Work properly for me :)

forcebook’s picture

<?php
$db_url = 'mysql://username:password@127.0.0.1/databasename';
$db_prefix = '';
$update_free_access = FALSE;

$base_url = 'http://mydomain.com';  // NO trailing slash!

ini_set('arg_separator.output',     '&amp;');
ini_set('magic_quotes_runtime',     0);
ini_set('magic_quotes_sybase',      0);
ini_set('session.cache_expire',     200000);
ini_set('session.cache_limiter',    'none');
ini_set('session.cookie_lifetime',  2000000);
ini_set('session.gc_maxlifetime',   200000);
ini_set('session.save_handler',     'user');
ini_set('session.use_cookies',      1);
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid',    0);
ini_set('url_rewriter.tags',        '');

# ini_set('pcre.backtrack_limit', 200000);
# ini_set('pcre.recursion_limit', 200000);

$cookie_domain = 'mydomain.com';
$conf['i18n_variables'] = array(
  'theme_default',
'maintenance_theme' => 'MYTHEME',

#   'reverse_proxy' => TRUE,

# $conf['locale_custom_strings_en'] = array(
#   'forum'      => 'Discussion board',
#   '@count min' => '@count minutes',
#   'anonymous' => 'Visitor',

  'site_name',
  'site_slogan',
  'site_mission',
  'site_footer',
  'anonymous',
  'theme_default',
  'site_frontpage',
  // Primary and secondary links
  'menu_primary_links_source',
  'menu_secondary_links_source',
  // Contact form information
  'contact_form_information',
  'theme_settings',
  'theme_MYTHEME_settings',
  'maintenance_theme',
);

This is my config file, change for your site.

my-family’s picture

I use this variables in my settings.php. Everytihg has been working UNTIL 6.x.-1.2. version of i18n module. After downgrading to 6.x.-1.1. it works again. So I suppose it is not related to my setting.php configuration.

md2’s picture

I am having the same issue but in 6.x-1.4. My settings.php $conf array is set up correctly.

Anyone got any ideas?

Thanks,
Mark

mikou’s picture

Did any body find a solution ?

droshani’s picture

StatusFileSize
new26.84 KB

I have the same problem, and I work with D6.16 and i18 6.1.4

I made the changes to me settings and but no results.

Hope someone can help. see attached image

My variables

/**
* Multilingual settings
*
* This is a collection of variables that can be set up for each language when i18n enabled.
* These are the basic ones for Drupal core, but you can add your own here.
*/
$conf['i18n_variables'] = array(
'theme_default',
'site_name',
'site_slogan',
'site_mission',
'site_footer',
'anonymous',
// Different front page for each language
'site_frontpage',
'menu_primary_menu',
'menu_secondary_menu',
'contact_form_information',
// Primary and secondary links
'menu_primary_links_source',
'menu_secondary_links_source',
// FAQ variables
'faq_title',
'faq_description',
'faq_question_label',
'faq_answer_label',
'faq_back_to_top',
);

jose reyero’s picture

I still cannot reproduce this. It may be related to your theme or have something to do with the text editor?

droshani’s picture

sorry @Jose Reyero is this reply to my question? The issue with Slogan filed in Site Information is not related to any Theme.

Anonymous’s picture

I have a similar problem. I just added a new multilingual variable to the settings.php file, and while the "This is a multilingual variable" string is shown in the UI, it will only show the last saved version of the string on all language versions, i.e.:

* I add the German version of the string: it shows on the German and English version of the site.
* I add the English version of the string on the English version of the site: The English string is shown on both the German and English version of the site.
* I change the German string on the German version of the site: The German version of the string is now shown on both language versions.

Curiously, the strings are always preserved in the edit fields (so they are stored *somewhere*), but only the last saved string will show up regardless of language version.

jose reyero’s picture

Status: Active » Postponed (maintainer needs more info)

Questions:
- Does this happen with latest versions? (Drupal 6.17 + Internationalization 6.x-1.5)
- Can you reproduce it with Drupal core + i18n module alone?

droshani’s picture

I did update to latest D6.17 and i18 6.15 but the problem is still there. The files for Slogan is not translatable. ;(

jose reyero’s picture

Looking at the screenshot above I'm wondering also whether the visual editor module, which seems to be enabled there has anything to do with this.

It could change the form causing i18n not to find the field. Just wondering.

droshani’s picture

You mean having FCKeditor enabled on Mission box?

I removed the editor and nothing changed. Still no Multilingual statement

mikou’s picture

Concerning #5, I did the exact same actions on another serve and it worked. Same version of drupal, same version of modules. It has something to do with the server configuration. I never understood what !

msozturk’s picture

Hi,

I have the same issue. I have edited settings.ini file, and run the cron and I was expecting to see "This is a multilingual variable" after the site slogan and site mission statement.

However it does not still work. Any more ideas about what might be wrong?

I am using Drupal 6.15

rancas’s picture

Hi,

I had a similar issue but I forgot to enablex menu translation (i18nmenu) module!
After enablig it everything works fine.

Anonymous’s picture

Same issue for me : no This is a multilingual variable text displayed.
(Drupal 6.17 + Internationalization 6.x-1.5)

I then run a test on a fresh Drupal installation on a local server : everything is fine !
Maybe I'll clone the site with problems on my local server to investigate...

Anonymous’s picture

Ok, I ran a test on a local server by cloning the site with problems (remote server) : it just work !

PHP version is the same on both server : 5.2.13
MySQL version is :

  • 5.1.45 on local server
  • 5.0.67 on remote server

Problem resolved !

The settings.php file is protected on the server. Making modifications on my editor and sending them to the server did not work because of these protections. But the editor did not warn me of such problem !

Thus there were no modifications applied to the server !!!!

And now it works !

linuxbcn’s picture

A problem with multilingual variable for slogan in Abedeen Theme in D6

I maked all for have a Multilingual settincs for an drupal6 web but the slogan variable don't work for Abedeen theme.

I put the multilingual settings in /sites/default/settings.php like other times in other drupal sites and go to /admin/settings/site-information for change de slogan site fot each language for change this text string

This not saved and don't work ;(

I search the possible solution in i18n settings for this problem and see this in /admin/settings/language/i18n/variables and don't see this variable ;( (http://d.pr/49rc)

Any idea for fix this problem?

tnx!

I try too change settings.php like this:

/**
 * Multilingual settings
 * 
 * This is a collection of variables that can be set up for each language when i18n is enabled.
 * These are the basic ones for Drupal core, but you can add your own here.
 */
$conf['i18n_variables'] = array(
  // Site name, slogan, mission, etc..
  'site_name',
  'site_slogan',
  'site_mission',
  'site_footer',
  'anonymous',
  // Different front page for each language
  'site_frontpage',
  // Primary and secondary links
  'menu_primary_links_source',
  'menu_secondary_links_source',
  // Contact form information
  'contact_form_information',
  // For theme variables, read more below
  'contact_form_information',
  'theme_settings',
  'theme_aberdeen_settings',
  'maintenance_theme',
);
jose reyero’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

So it seems this either variable not added to settings php or a theme specific issue (for that open an issue for that theme).

dimch’s picture

Issue summary: View changes

One common cause of changes made to i18n_variables via settings.php not showing up in the Admin page is having the Internalization tests module enabled.

In default configuration this module sets the variable to:

i18n_variables: array (
  0 => 'site_name',
  1 => 'site_frontpage',
)

If this seems to be the case just disable the Internalization tests module in the Testing section of Administer -> Site Building configuration page.