At the EPiServer developer summit a couple of weeks ago I held a session about multilanguage support in EPiServer. For those of you who were there, you know why I've added this entry. I screwed up the demo completely and promised to upload the demo code to my blog. My, at that moment, not existing blog. So here it is. I've created a blog and added the code for download.
It is a simple plug-in for EPiServer CMS 5. Just add the plug-in files in the admin folder in you project, and the xml-file in the lang folder and you are done. Almost, you must of course also compile the project to get the plug-in compiled and into your assembly...
Using this plug-in you can export the content of your pages to xml and also import it after it has been translated. Just go to the plug-in in admin mode and choose to export some pages. When exporting you have to choose a root page for the export as well as the language to export. Save the export to disk. Change the content in the xml file. Update the content language by setting the identifier for the new language in the root element. Then update the property values according to the new language. After this you can import the xml and the system will automatically add new pages or update existing pages in the new language.
I hope you understand what I'm writing. If not, check out the code. Globalization Demo.zip (4.83 kb)