Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

IPageRetriever & culture

$
0
0
While redeveloping my site in Xperience and ASP.Net Core, I am facing issues regarding the culture. My site is bilingual in English and Spanish. My default culture is English. However, sometimes for one page, I have an english version but no spanish version. For an other page, I have only a Spanish version and no English version. In Kentico 12, to face this situation and display at least a page in the available culture, I was using the CombineWithAnyCulture() method.Concerning, IPageRetriever, I have understood that it will show only the requested culture. Does it mean that I look for page in English but it is only in Spanish, I will get a 404 error if I use IPageRetriever instead of IDocumentQuery?Thank you for clarifying this situation. Sylvain

Viewing all articles
Browse latest Browse all 8901

Trending Articles