203 Posts
louispapera
10 years ago
5
Topic

Sebloders Hello, I have a multilingual site and I have a problem. When I assign a language in a form (ie: EN), the system assigns the right language, in fact I see it through the management of items. Then, when I do a search in the Italian version of the site, list and search by type, I find in same record (EN) in list.

How do I display only the records in the right language? ie: the Italian version only IT and ALL - English version EN and ALL.

Many thanks in advance for your help. 

Best regards, Louis

Get a VIP membership
175 Posts
webcastor
10 years ago
1
Level 1

You need to put art_language in your search tab, but twice; the first as Live | Variable | language against site language and the second as Live | Default | * (All)

To achieve this, you need to create an alias to art_language field.

Since those values are mutually exclusive you need to use OR in your query, and to do that you need this plugin.

203 Posts
louispapera
10 years ago
0
Level 2

Dear Alex, many thanks for your reply. 

I have bought plugin and it has been useful for me need.

Many Thanks again. Louis

10 years ago
0
Level 1

If I understand correctly,
you would add the field "Article Language" to the "Search Form" view
and choose "URL variable" for Live value, using the variable "lang"

175 Posts
webcastor
10 years ago
0
Level 1

Exactly, only the variable is language

10 years ago
0
Level 1

Oh, that is true
lang is the url separator and language the full language code.

I have now created a "dump field" so I don't have to guess but can see the request variables.
See here: https://www.facebook.com/creativeresort.seblod  (Oct 21st)

Get a VIP membership