4 replies [Last post]
xbelanch's picture
Offline
Joined: 11/11/2008
Juice: 10
Was this information Helpful?

Hi!
I've a problem around i18n and the Catalog block name. I import the .po file belongs to spanish translation but doesnt work. Still appears "Catalog" names of catalog's block intead "Catálogo".

I see the code at uc_catalog and I think it's ok:

      $blocks[0] = array(
        'info' => variable_get('uc_catalog_name', t('Catalog')),
        'status' => 1,
       );

But not work for me,... I think I make a mistake,... anyone can help me?

Thanks!

Xavier

xbelanch's picture
Offline
Joined: 11/11/2008
Juice: 10
still with problems...

I solved. I dont activate the taxonomy option at i18n module Sad and also, I have a strange problem: in spanish tranlation appears the list of terms I have added to the taxonomy named "Catálogo" and linked to a differents products at Catalog Block, but it doesnt at english interface Puzzled It appears nothing under name "Catalog" of the block Puzzled

Thanks,

Xavier

g089h515r806@drupal.org's picture
Offline
Joined: 09/24/2008
Juice: 5
Multilingual Variables for catalog name

I know how to solve this issue:

put following code into your settings.php file:
$conf['i18n_variables'] = array(

'uc_catalog_name',

)
then you can enter you catalog name at vocabulory configurepage, enter one name,then swith to another language,then enter another catalog name for that language.

you can refer http://drupal.org/node/313272 ,

--------------------
http://zhupou.cn

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Multilingual Variables for catalog name

Thanks a lot for the link! I'll put it into an FAQ.

EDIT: And here it is! Smiling

ronnqvist's picture
Offline
Joined: 12/22/2008
Juice: 12
Different settings in Drupal 6/Übercart 2

In Drupal 6/Übercart 2 this should apparently be:

$conf['i18n_variables'] = array(
  'uc_catalog_vid',
  'uc_catalog_name'
);

Remember to enable multilingual taxonomies and set "Translation mode" to "Set language to vocabulary. The vocabulary will have a global language and it will only show up for pages in that language." and pick the language for the taxonomy in question. Look here: http://yoursite.com/admin/content/taxonomy

Also remember to not synchronize the taxonomy terms in between the node translations for the Product node type, under "Workflow settings" here: http://yoursite.com/admin/content/node-type/product

Merry Xmas, and hope this helps someone! Eye-wink

SimOn - Web solutions & interface design
http://simon.fi