Internationalization of site information

srobert72 - August 21, 2009 - 20:11
Project:Memcache API and Integration
Version:6.x-1.x-dev
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Hi all,

Since last release i18n 6.x-1.x-dev (2009-Aug-18) internationalization of site information doesn't work any more.

In my settings.php :

$conf['i18n_variables'] = array(
  // Site name, slogan, mission, etc..
  'site_name',
  'site_slogan',
);

It was correctly translated till now, but since last release it doesn't.
And message in /drupal/admin/settings/site-information that inform us variables are translatable doesn't appear any more.

I think this problem is for all i18n_variables.

Is it a bug or procedures to translate those variables have changed ?

Thx for your help

#1

hass - August 29, 2009 - 15:56
Status:active» fixed

Works perfectly for me -> cannot repro.

#2

srobert72 - August 29, 2009 - 18:49

OK I found my problem.

Here is my configuration in settings.php

for i18n module :

$conf['i18n_variables'] = array(
  // Site name, slogan, mission, etc..
  'site_name',
  'site_slogan'
);

But I have also configuration for memcache module.
I've made settings as described on memcache module page : http://drupal.org/project/memcache

for memcache module :

$conf = array(
      'cache_inc' => './sites/all/modules/memcache/memcache.inc'
    );

And this configuration disabled previous one for i18n.
In fact I think memcache module installation guide is wrong.

this configuration for memcache module works with i18n :

$conf['cache_inc'] = './sites/all/modules/memcache/memcache.inc';

#3

hass - August 29, 2009 - 19:11
Project:Internationalization» Memcache API and Integration
Version:6.x-1.x-dev» 6.x-1.x-dev
Component:Code» Documentation
Category:support request» task
Status:fixed» needs review

May be a good idea to update the linked memcache documentation with your fix!

#4

srobert72 - August 29, 2009 - 19:19

#5

hass - August 29, 2009 - 19:39
Status:needs review» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.