Hi..

When i change to RTL the term field in view page only show (..any..)in the translated language after select (..any..) then will load the English and all term . any idea ...

CommentFileSizeAuthor
RTL 2.png29.96 KBRasti
RTL 1.png10.61 KBRasti

Comments

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)

Your description is not clear at all, sorry. Please try to write better English, or provide a screencast. You're using Mac OS X, so you can use http://jingproject.com/ (free).

Rasti’s picture

Hi

I'm building multilingual website and i use taxonomy for type of cars, and for searching a car i used HS in a view, when i load the page in English it load all term in the HS field with no problem, but when i go to other language like kurdish or arabic when the page load only show ANY and SELECT not all terms, when i select ANY then it load all the other term, u can see it in the screen cast :
http://www.screencast.com/t/A0TskybG

thanx.. sorry for bad english.

Rasti’s picture

Status: Postponed (maintainer needs more info) » Active

hi ....

any solution for my problem???
or do u need more information.??

thanks..

wim leers’s picture

I haven't had the time to look into this. I'll try to do that this weekend.

Rasti’s picture

Status: Active » Fixed

Hi..

I found the problem, when i added the term, I added them manually to the (term_data) and (term_hierarchy) in the database, but when i added it, somehow (language) filed in (term_data) table took (en) as a value, so when load the other language it didn't find any term because SQL statement say (t.language ='ku' OR t.language ='' OR t.language IS NULL) it couldn't find any of (ku) or (ar) so it return empty, so i change all language value to NULL, it fix.

the English page SQL is :

(SELECT t.tid, t.*, parent FROM term_data t INNER JOIN term_hierarchy h ON t.tid = h.tid WHERE (t.language ='en' OR t.language ='' OR t.language IS NULL) AND ( t.vid = 1 )ORDER BY weight, name)

thanks....

wim leers’s picture

Component: Code - Taxonomy Views » Code - Taxonomy

Aha! Well, you should definitely not be inserting them directly into the DB, unless you're 300% certain about what you're doing :)

Rasti’s picture

Yea your right but adding 2350 item is not easy and arrange with there parent.

and i found how it took English and not empty text .

when you select in vocabulary translation mode

"Set language to vocabulary. The vocabulary will have a global language and it will only show up for pages in that language."

and you choose on of the language, it will change the language in database, but if you want go back and choose :

"None. No multilingual options for this vocabulary." in the vocabulary translation mode.

then the language field in the database doesn't change, remain as the last language has been selected, maybe this is a bug.

anyway thanks ...

Status: Fixed » Closed (fixed)

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