Views menu items not translated

HrvojeKC - October 6, 2009 - 17:08

In the primary navigation I use two Views menu items (one menu item per view). When I switch languages - the title on the view page is translated, the content is pulled in the appropriate language but the menu item stays in the default language.

How can I translate Views menu items, and views path so it is displayed in the selected language and not in the default?

I use the latest Drupal (6.14) i18n, I10n client, language icons, ccs, views, pathauto and transliteration modules drupal suggested versions.

A semi newbie :)

Same problem here.

shanto - November 13, 2009 - 16:47

Same problem here.

Menu approach

joemurray - November 20, 2009 - 22:59

Following some advice elsewhere in the forum, I've implemented my menus separately for each language. Then I can specify what menu text to use to refer to each view.

Joe

I have the same problem. Do

psc - November 24, 2009 - 00:27

I have the same problem. Do you mean you've created a different view for each different language? This would take to much duplicate work in some cases.

I don't know how to translate that menu items coming from some views I created because they do not appear at the translation interface page neither when I do a search for the terms.

Anybody having an idea?

psc

psc

String Overrides

psc - November 25, 2009 - 14:10

I've solved part of the translation problems with the module 'String Overrides'.

psc

Menu Translations

rsushil - November 27, 2009 - 07:00

Hi HrvojeKC,

I think the solution is to hack your template file to load appropriate menus based on the languages. I am giving you a pseudo code that you have to put in your template file before loading menus.

ex:

if ($language == 'es'){
load_your_spanish_menus();
} .. etc

I also heard that Nice Menus has a provision to configure per language but i never tried that its better if you could have a look at it before trying the above solution.

 
 

Drupal is a registered trademark of Dries Buytaert.