0

I'm trying to set an english/spanish website and I've already set in my post types which are the types I want to be translatable. I also translated the posts but I'm not really sure how to set the views to display the content based on the language... I want the spanish posts to show up in domain.com/es/whatever/route ... and the english posts to show up in domain.com/whatever/route ... right now, both paths show the same content (the posts in English and the posts in Spanish)...

I'm guessing I need to somehow set contextual filters and relationships but I'm not so sure about how. Could I get a hand with that?

1 Answer 1

1

for Views module add filter: Node translation: Language -> Current user's language.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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