<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Blog posts by Eivind Hodneland</title><link href="https://world.optimizely.com/blogs/Eivind-Hodneland/" /><updated>2011-05-16T13:21:29.6970000Z</updated><id>https://world.optimizely.com/blogs/Eivind-Hodneland/</id><generator uri="https://world.optimizely.com/blogs/Eivind-Hodneland/" version="2.0">Optimizely World</generator><entry><title>Getting EPiServer CMO 2.0 to work with Norwegian language, EPiServer CMS 6.0</title><link href="https://world.optimizely.com/blogs/Eivind-Hodneland/Dates/2011/5/Getting-EPiServer-CMO-20-to-work-with-Norwegian-language-EPiServer-CMS-60/" /><id>https://world.optimizely.com/blogs/Eivind-Hodneland/Dates/2011/5/Getting-EPiServer-CMO-20-to-work-with-Norwegian-language-EPiServer-CMS-60/</id><published>2011-05-16T13:21:28.0000000Z</published><updated>2011-05-16T13:21:29.6970000Z</updated><author><name>eivind.hodneland@makingwaves.no</name></author><category term="Blog post" /><summary type="html">&lt;p&gt;The EPiServer CMO 2.0 release (for EPiServer CMS 6.0 and above) has a few deficiencies.&lt;/p&gt;  &lt;p&gt;The most irritating one is perhaps that CMO 2.0 out of the box does not allow the CMO admin to set the dates using the built-in “date picker”, if your site uses any other language than English.&amp;#160; I live and work in Norway, most of the sites I work on use the Norwegian language. &lt;/p&gt;  &lt;p&gt;When applying the instructions in my post, I take for granted that you already have installed CMO 2.0 on your site or in your development environment.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;Language files, JavaScript, web forms, user controls&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Most of the things you need to do, is documented in the post by CMO developer, Dmytro Duk, &lt;a href="http://world.episerver.com/Blogs/Dmytro-Duk/Dates/2011/5/Localization-workaround-for-EPiServer-CMO-20/"&gt;Localization workaround for EPiServer CMO 2.0&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Please read the post thoroughly.&amp;#160; The most important point, in addition to copying&amp;#160; modified versions of some CMO components to your site, is the following:&lt;/p&gt;  &lt;p&gt;CMO 2.0 comes with a language file CMO_EN.xml, for English language only.&amp;#160; &lt;/p&gt;  &lt;p&gt;The instructions in Dmytro’s post tell you that you need to have copies of that language file for the language of&amp;#160; your culture and UI culture.&lt;/p&gt;  &lt;p&gt;In our case, we need to have both a CMO_NO.xml and a CMO_NB.xml file. Change the id and the name of the language node in each file accordingly.&lt;/p&gt;  &lt;p&gt;E.g.:&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;languages&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;font size="1" face="Courier New"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;      &lt;p&gt;&lt;font size="1" face="Courier New"&gt;&amp;lt;&lt;/font&gt;&lt;/p&gt;   &lt;/font&gt;&lt;font size="1"&gt;&lt;font face="Courier New"&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;language&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;font color="#ff0000"&gt;name&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;=&lt;/font&gt;&lt;/font&gt;&amp;quot;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;Norsk bokmål&lt;/font&gt;&lt;/font&gt;&amp;quot;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;font color="#ff0000"&gt;id&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;=&lt;/font&gt;&lt;/font&gt;&amp;quot;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;nb&lt;/font&gt;&lt;/font&gt;&amp;quot;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#0000ff" size="1" face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;The datepickerformat node in those files should look like this in the CMO_NO.xml and CMO_NB.xml files:&lt;/font&gt;&lt;/p&gt; &lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;       &lt;p&gt;&lt;font size="1" face="Courier New"&gt;&amp;lt;&lt;/font&gt;&lt;/p&gt;     &lt;/font&gt;&lt;font size="1"&gt;&lt;font face="Courier New"&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;datepickerformat&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;dd.mm.yy&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;datepickerformat&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;    &lt;p&gt;See why in Dmytro’s post.&lt;/p&gt;    &lt;p&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;/font&gt;&lt;font size="1"&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#000000" size="2" face="Trebuchet MS"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;strong&gt;Specific version of CMO UI DLL&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;To make all the magic happen, you also need a specific version of the EPiServer.CMO.Ui.Dll, namely version 2.0.0.10, &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;which was supplied to us by EpiServer support in a previous attempt of a work-around.&lt;/font&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:8eb9d37f-1541-4f29-b6f4-1eea890d4876:744dc6c0-f4cf-4e4e-bb94-c9dfbb35582b" class="wlWriterEditableSmartContent"&gt;&lt;p&gt;&lt;div&gt;Find it here: &lt;a href="/link/e00de18a013b4d7096c0b38fc2a8982d.dll" target="_self"&gt;EPiServer.Cmo.UI.dll v. 2.0.0.10&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>