I have some logic server side to check if the Item has a language version and based on that the result, the app would choose whether or not to show a particular view. I published the item in
es-PA language but it is not rendering on the page.
After debugging, I realized that the
RenderingContext.Current.Rendering.Item.HasLanguageVersion() check keeps returning false. For a similar item that I published in
es-PA, the check returns true. Am I missing something?