This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This thread is resolved. Here is a description of the problem and solution.
Problem: We have some portfolio items that we want to present only in Polish lang, so we did not prepared translation in English. I've set option that if there is no translation, user should be redirected to the home page
But unfortunatelly user is redirected to the portfolio item with English link but with Polish content.
Solution: I just checked the settings of the site and this is the expected behavior. In case you just want to show the Portfolio in the language that has been translated then you need to need to go to WPML -> Opcje tłumaczenia -> Tłumaczenie typów wpisów -> Set portfolio to 'Przetłumaczalne - wyświetlaj tylko przetłumaczone elementy' -> Save the changes.