hey guys, i have this site listing all discographies of a singer:
http://www.alizee-fanpage.com/en/discography

I understand if I put a filter in there that I can only show the langauge I want, like spanish, english or so...

But this would also Mean I would have to create a View for each Language which I dont really want to do?

Is there a work-around?

Comments

jmlavarenne’s picture

If you are talking about languages for the discs, you could use taxonomy - each disc can be tagged with a language, and then you can use the taxonomy name as the views argument.

For example, you view filter show content type disc. Argument is Taxonomy term name. Make a vocabulary called languages (with terms english, français, deutsch, etc). So that's only one view - not one per lanugage.

If you mean translating the whole site, you just need to enable the locale module and download the .po files for each language you want enabled on your site.

Riccardo83’s picture

I dont think you understood what I mean...

I have 5 languages on my site. www.alizee-fanpage.com/pl shows polish news, www.alizee-fanpage.com/en english and so on.

They only show the news in the current langauge, except if u activate fallback language.

BUT for the VIEWS its different. I have setup 2 Filters, Node Published = Yes and Node Type = Discography

What u currently see on the page / view is all languages of a node type called discography. BUT I want only the current langauge to be displayed not all languages in ONE VIEW!

Is that possible, in ONE VIEW? I know I can create several to filter out the langauges I want to display.

Check out my blog
http://blog.riccardo-ulpts.com

jmlavarenne’s picture

Oh I get it now -

Can you add the language as an argument to your view?

After, you could pass it along in your url :

records_list_view_url/fr (or whatever your view url is)

or

records_list_view_url/en

What version of Drupal are you using? Are you using i18n? http://drupal.org/project/i18n

Riccardo83’s picture

As an argument? No I cant... I can only set a filter... thats so strange? Means I have to create 4-5 views for doing that?

Im using Drupal 5 + Localizer... is D6 and i18n better?

What I could do is add a taxanomy for all Discographies and Lyrics... and use Arguments for that, but isn't that too complicated?

Im thinking about switching D5 with Localizer for D6 with i18N

Check out my blog
http://blog.riccardo-ulpts.com

Riccardo83’s picture

I did create a Category, Taxanomy for Discography with those languages and added them as an Argument to the view.
I still now need to create 4 Menus individually, better than creating 4 views definitely but still I thought there is a easier way of only showing the current language in a view.

Check out my blog
http://blog.riccardo-ulpts.com