1

I am working on a multilingual drupal website (webshop with commerce_kickstart-7.x-2.37, drupal 7.43).

My articles are perfectly translated, even the titles. So when I go to the page of the article and change the language it shows the translated content including title.

I then made a new view. With that view i created a page to have all the titles of the articles in a list. The thing is though that those titles will not translate when i change the site language while it does perfectly change on the article itself!

Any help? Is it because I do not have internationalization views? I don't get why it is translating on the article itself but not on the overview page.

  • Are you displaying fields with the view or rendered content? Rendered content should display translated always, maybe with fields you have to choose a translated field, if there's such thing – Alari Truuts Jun 11 '16 at 16:43
  • I am displaying fields with the view, not rendered content. – wesvb Jun 11 '16 at 16:48
  • not sure if it matters though. The content gets translated (body) elswhere and that is also displayed as a field and not rendered content. Funnily enough, there as well the title will not be translated so it is purely the title that is creating issues. – wesvb Jun 11 '16 at 16:59
2

I've found it myself.

when using fields, instead of adding content:title as a field, use entity translation:title. This will show the same field as your title but the translated version.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.