How to create language switcher and load categories & posts in selected lang

Posted in: Newspaper
Post count: 5

Hi,

I’m creating a news website which will have two languages. In the header there will be a dropdown listing the two languages. There will be categories in the home page, and each category will have multiple posts. When a particular language is selected, I need to change the category to its 2nd language equivalent and change all the posts to that category. How do I achieve that?

Post count: 27744

Hello,

Normally when you switch to the second language everything should change, including the posts in that language.
You can check our guide here: https://forum.tagdiv.com/using-theme-translations-together-wpml/

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.