<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6586401656416839531.post1946479894429095813..comments</id><updated>2008-06-24T11:28:00.275+02:00</updated><title type='text'>Comments on Marek Blotny's Blog: Explicit localization in EPiServer</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://marekblotny.blogspot.com/feeds/1946479894429095813/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6586401656416839531/1946479894429095813/comments/default'/><link rel='alternate' type='text/html' href='http://marekblotny.blogspot.com/2008/06/explicit-localization-in-episerver.html'/><author><name>Marek Blotny</name><uri>http://www.blogger.com/profile/00597177822162458134</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6586401656416839531.post-5918530724191496916</id><published>2008-06-24T11:28:00.000+02:00</published><updated>2008-06-24T11:28:00.000+02:00</updated><title type='text'>Hi Adam,Well, the problem with this example is tha...</title><content type='html'>Hi Adam,&lt;BR/&gt;&lt;BR/&gt;Well, the problem with this example is that it doesn't work, the parser error message is:&lt;BR/&gt;&lt;BR/&gt;"Server tags cannot contain &amp;lt;% ... %&amp;gt; constructs"&lt;BR/&gt;&lt;BR/&gt;In terms of having code in code behind file ... like you said, it's a matter of taste. &lt;BR/&gt;&lt;BR/&gt;But in my opinion setting error message is a part of presentation layer so I don't think it should be mixed with code behind code. Also, it enables designers to easily change message key if needed without any problems.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6586401656416839531/1946479894429095813/comments/default/5918530724191496916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6586401656416839531/1946479894429095813/comments/default/5918530724191496916'/><link rel='alternate' type='text/html' href='http://marekblotny.blogspot.com/2008/06/explicit-localization-in-episerver.html?showComment=1214299680000#c5918530724191496916' title=''/><author><name>Marek Blotny</name><uri>http://www.blogger.com/profile/00597177822162458134</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14389836643432780289'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://marekblotny.blogspot.com/2008/06/explicit-localization-in-episerver.html' ref='tag:blogger.com,1999:blog-6586401656416839531.post-1946479894429095813' source='http://www.blogger.com/feeds/6586401656416839531/posts/default/1946479894429095813' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-6586401656416839531.post-1662558202382270348</id><published>2008-06-24T10:47:00.000+02:00</published><updated>2008-06-24T10:47:00.000+02:00</updated><title type='text'>Hello Marek,you could avoid the code behind if you...</title><content type='html'>Hello Marek,&lt;BR/&gt;&lt;BR/&gt;you could avoid the code behind if you embedded the code directly:&lt;BR/&gt;&lt;BR/&gt;&amp;lt;%= Translate("/usersettings/username") %&amp;gt;&lt;BR/&gt;&lt;BR/&gt;So for example do&lt;BR/&gt;&amp;lt;asp:Label Text="&amp;lt;%= Translate("/usersettings/username") %&amp;gt;"&lt;BR/&gt;...&lt;BR/&gt;&lt;BR/&gt;that said, I still prefer having code in code behind (isn't that single line of code just beautiful in its simplicity - not cluttering the aspx with all those percent and dollar signs? ;) ), rahter than mixing it in with the aspx. &lt;BR/&gt;&lt;BR/&gt;But agreed, it's just a matter of taste.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6586401656416839531/1946479894429095813/comments/default/1662558202382270348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6586401656416839531/1946479894429095813/comments/default/1662558202382270348'/><link rel='alternate' type='text/html' href='http://marekblotny.blogspot.com/2008/06/explicit-localization-in-episerver.html?showComment=1214297220000#c1662558202382270348' title=''/><author><name>Adam Najmanowicz</name><uri>http://blog.najmanowicz.com/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://marekblotny.blogspot.com/2008/06/explicit-localization-in-episerver.html' ref='tag:blogger.com,1999:blog-6586401656416839531.post-1946479894429095813' source='http://www.blogger.com/feeds/6586401656416839531/posts/default/1946479894429095813' type='text/html'/></entry></feed>