Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi!
I just had the same problem, and found out that I needed to add MultiLanguage in the capabilities attribute in the pageProvider section in web.config. (I know this answer is a little late for you, but I'm posting this because somebody else might have the same problem... :-)
<pageProvider>
<providers>
<add name="XmlPageProvider" type="CodeSamples.XmlPageProvider, XmlPageProvider" entryPoint="3" capabilities="Create,Edit,Delete,Move,Copy,MultiLanguage" filePath="~\externalpages.xml"/>
</providers>
</pageProvider>
Hi,
I am making a site which uses a Custom PageProvider to show a product database in episerver. The database is localized and now i'm having trouble getting which language the user is asking for.
In my GetLocalPage I get an ILanguageSelector which if I understand it correctly should use to find if its being requested a specific language.
In the XmlPageProvider example provided by EPiServer they say you should do something like this. (language is the ILanguageSelector)