Reputation: 51
I have content type: (filed_name1_en, field_name1_de, filed_name2_en, field_name2_de) and I want to make view so that if enter site in English that view must display (filed_name1_en, filed_name2_en) fields and if i enter site in German it must to display (filed_name1_de, filed_name2_de).
How can I do that?
Upvotes: 0
Views: 51
Reputation: 51
I solve this task by making (overloading) views tpl file. without many changes.
Upvotes: 0
Reputation: 27043
As @JesseGangi said; Your making it too complicated.
Follow this tutorial. It will walk you through the best practice to build a multilingual website.
Upvotes: 1
Reputation: 23
You are making it too complicated.
Just create the 'Content Types' you need, then the 'Views' to support them, and turn on the Content Translation, and Locale modules.
Keep It Simple.
Upvotes: 1