Pyro returns content in wrong language when the selected one is empty.
Created 6 years ago by gonziisI have a translatable language field. In the view code there is a check whether the field is empty or not. If empty, it shouldnt display a block for that, so that means that the field is optional. That field in one language has content, in other it doesn't. But Pyro still returns the other language when it detects that the field is empty in the selected language. How can I disable this? Or how can I request it to give me the actual data even if its empty.
Also I now noticed that a boolean value is always returned the one which is chosen in the main language. This about Pages btw, I have an custom boolean field assigned which is translatable. I am using the page in another language by linking with /langugage/page-slug. Is this the wrong way to assign a language to user perhaps, thats why its returning the main languages data.