views multilanguage menu items

boriznl - March 14, 2009 - 13:28
Project:Views
Version:6.x-2.3
Component:page displays
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello i'm running a multilanguage siteusing i18n module.
I have created 2 views one for each language showing the news items of that language.
The views work.
The Problem is that if i create a menu item to link to one of the views it will showup in both language.
even if the menu item has a language it will showup in both language.
can anyone help

#1

najibx - April 7, 2009 - 04:22

i'm looking for solution myself ...got your reference?
views is lacking multilanguage support? what's the process of creating a "multilanguage" views ... thus creating menus for each pages respectively? If created 2 different Views, if change language on this page, the views is not going to be translated anyway.

#2

HrvojeKC - October 5, 2009 - 21:56

I run into this problem to. Views menu items are not translated. Views page titles are ok but the path and menu remain in the default language.

Is it possible to have view menu items and not to have to duplicate views and the edit them for each language?

#3

JeniferTucker - December 16, 2009 - 11:10

I too have a problem with multilanguage views. I have created a number of views assuming that you only need one view to handle each language (in my case English and Italian).

The filters are set to:

Node translation: Language = Current user's language Settings
Taxonomy: Term or Advice, Consigli

I have opted not to give the views titles nor add any header/footer text simply because they don't translate. You can add one language text, but not the alternative text for the other language (let me know if I'm wrong on this).

I now have an added problem with breadcrumbs which displayed very strange strings. Partly fixed by disabling all the primary links I had originally created assuming that primary links would work.

Primary and Secondary Link menus both have to be disabled when setting up a multilanguage site.
(reference: http://drupal.org/node/313302)

After seeking advice from the Drupal community I was led to install the menu breadcrumb module (http://drupal.org/project/menu_breadcrumb).

All works with the exeption of all the page 'views' which I get a total blank in the breadcrumb trail.

Having spenting weeks trying to find a way round this I can only assume it's because the 'views' module is not fully interchangeable between languages.

Does anyone else have this problem?

#4

merlinofchaos - December 16, 2009 - 21:02
Status:active» fixed

THe menu system always translates strings, so Views specifically isn't allowed to.

Views titles and other translatable fields are run through t() even though they probably should not be, so you can, in fact, translate them.

Views' translation is currently not exactly the best, but it is at least there. THere is work to make a better system progressing slowly.

#5

najibx - December 17, 2009 - 03:42

Views titles, Views menu and View's fields are indeed translatable. However I came across difficulty when English is not the default site language. I have to set all the above strings in English and then use the Interface Translator to translate to other language.

So now, I have the default "view's string" in English but my actual default site's language is not english. This is how I get things to work. Something is being workout, but what happen in the future when things is resolved? Or i'm just lost here?

#6

System Message - December 31, 2009 - 03:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.