Guno
Guno

Reputation: 51

Multilingual site and views

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

Answers (3)

Guno
Guno

Reputation: 51

I solve this task by making (overloading) views tpl file. without many changes.

Upvotes: 0

Muhammad Reda
Muhammad Reda

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

Ganginator
Ganginator

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

Related Questions