I so know this is gonna be easy, but I can't find an example of it in the SDK and poking around using the VS debugger didn't yield anything useful either...
Could someone please tell me those simple magic lines of code that will, given a PageReference or PageData reference, extract all the page names and what language code each name is in please?
Many thanks,
Andy
Hi Andy,
Are you using EPiServer 4.60/4.61? The globalization support was rebuilt in this version of EPiServer.
I found this in the SDK:
(EPiServer 4.61 / Globalization / Samples)
Get all Languages for a Page
PageDataCollection pages = Global.EPDataFactory.GetLanguageBranches(pageLink);
The rest should be like a walk in the park, I guess ;)