<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Localizing MVC for ASP.NET views and master pages</title>
	<atom:link href="http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages/feed" rel="self" type="application/rss+xml" />
	<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=localizing-mvc-for-aspnet-views-and-master-pages</link>
	<description>A .NET developer in silicon valley</description>
	<lastBuildDate>Fri, 18 May 2012 15:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Damien Guard</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-9806</link>
		<dc:creator>Damien Guard</dc:creator>
		<pubDate>Thu, 23 Oct 2008 17:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-9806</guid>
		<description>That may well be the case, the article is rather old.  I will try to revise it or mark it as obsolete. Thanks,

[)amien</description>
		<content:encoded><![CDATA[<p>That may well be the case, the article is rather old.  I will try to revise it or mark it as obsolete. Thanks,</p>
<p>[)amien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Rotkiske</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-9804</link>
		<dc:creator>Kevin Rotkiske</dc:creator>
		<pubDate>Thu, 23 Oct 2008 15:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-9804</guid>
		<description>i dont think this is applicable in the preview 5 release.</description>
		<content:encoded><![CDATA[<p>i dont think this is applicable in the preview 5 release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien Guard</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-9796</link>
		<dc:creator>Damien Guard</dc:creator>
		<pubDate>Wed, 22 Oct 2008 20:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-9796</guid>
		<description>@Kevin: They are defined and called by the parent class (ViewLocator)

[)amien</description>
		<content:encoded><![CDATA[<p>@Kevin: They are defined and called by the parent class (ViewLocator)</p>
<p>[)amien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Rotkiske</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-9795</link>
		<dc:creator>Kevin Rotkiske</dc:creator>
		<pubDate>Wed, 22 Oct 2008 20:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-9795</guid>
		<description>I don&#039;t understand how the variables in the constructor could work. they are never called in the code. The ViewLocationFormats and MasterLocationFormats variables are not passed to the other routines and are not properties of the base class. Am I missing something?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand how the variables in the constructor could work. they are never called in the code. The ViewLocationFormats and MasterLocationFormats variables are not passed to the other routines and are not properties of the base class. Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weekly Links: ASP.NET MVC, Silverlight 2, jQuery, CSS, C#&#8230; &#124; Code-Inside Blog International</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-8367</link>
		<dc:creator>Weekly Links: ASP.NET MVC, Silverlight 2, jQuery, CSS, C#&#8230; &#124; Code-Inside Blog International</dc:creator>
		<pubDate>Mon, 28 Apr 2008 19:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-8367</guid>
		<description>[...] Localizing MVC for ASP.NET views and master pages [...]</description>
		<content:encoded><![CDATA[<p>[...] Localizing MVC for ASP.NET views and master pages [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-8365</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 28 Apr 2008 14:31:13 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-8365</guid>
		<description>Ah ok. I think this just reflects differences in the application type &amp; development workflow - the apps I worked on consisted of many hundreds of individual views (complex web-based TP application with a huge variety of transactions &amp; screens) so of course a designer was never going to be involved in designing every individual view, just the templates of each general component &amp; the overall style. Resources like images were just pulled in from a potentially localised folder too. Each view was light but when you have this many of them, writing one per language would be insane, and also if localisation was outsourced, it can  be done just by editing text files. If you have a small app where a designer will be touching every single view directly then I can see it would be different.</description>
		<content:encoded><![CDATA[<p>Ah ok. I think this just reflects differences in the application type &amp; development workflow &#8211; the apps I worked on consisted of many hundreds of individual views (complex web-based TP application with a huge variety of transactions &amp; screens) so of course a designer was never going to be involved in designing every individual view, just the templates of each general component &amp; the overall style. Resources like images were just pulled in from a potentially localised folder too. Each view was light but when you have this many of them, writing one per language would be insane, and also if localisation was outsourced, it can  be done just by editing text files. If you have a small app where a designer will be touching every single view directly then I can see it would be different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien Guard</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-8363</link>
		<dc:creator>Damien Guard</dc:creator>
		<pubDate>Mon, 28 Apr 2008 13:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-8363</guid>
		<description>You&#039;ve just hit the nail on the head &quot;when the content is going to be the same except for the labels / text&quot;. Not everything is a input form - think web sites that are mostly content.

Devs might be happy with a big resource file for each language and a bunch of almost-empty views but non-devs won&#039;t be happy trying to maintain these abstract elements.  Is it really worth penalising these guys with their regularly-changing content just to make your life a bit easier in the rarer case that the structure of a view needs to change?

Given the use of master pages, user controls and CSS the views themselves can be very lightweight indeed and I&#039;m not convinced that they are complex enough to force designers and translators into working in such a disconnected and disoriented manner.

Of course if you&#039;re app is all repeated forms, labels and buttons then it&#039;s a different story.

[)amien</description>
		<content:encoded><![CDATA[<p>You&#8217;ve just hit the nail on the head &#8220;when the content is going to be the same except for the labels / text&#8221;. Not everything is a input form &#8211; think web sites that are mostly content.</p>
<p>Devs might be happy with a big resource file for each language and a bunch of almost-empty views but non-devs won&#8217;t be happy trying to maintain these abstract elements.  Is it really worth penalising these guys with their regularly-changing content just to make your life a bit easier in the rarer case that the structure of a view needs to change?</p>
<p>Given the use of master pages, user controls and CSS the views themselves can be very lightweight indeed and I&#8217;m not convinced that they are complex enough to force designers and translators into working in such a disconnected and disoriented manner.</p>
<p>Of course if you&#8217;re app is all repeated forms, labels and buttons then it&#8217;s a different story.</p>
<p>[)amien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-8362</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 28 Apr 2008 13:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-8362</guid>
		<description>Can you give some examples of when string replacement doesn&#039;t work? I&#039;ve never had a problem with determining what labels / text mean when they&#039;re expressed as resource names rather than explicit text, simply because I just name them after the English description so it&#039;s usually pretty obvious. I&#039;ve been involved in quite large systems that had locale support available like this, but the caveat is that I never actually translated any of the text :) Having the option to was important though.

It just seems overkill to have a view page for every language when the content is going to be the same except for the labels / text, seems to violate DRY. I could imagine there being a need for different versions for right-to-left systems or something like that though.</description>
		<content:encoded><![CDATA[<p>Can you give some examples of when string replacement doesn&#8217;t work? I&#8217;ve never had a problem with determining what labels / text mean when they&#8217;re expressed as resource names rather than explicit text, simply because I just name them after the English description so it&#8217;s usually pretty obvious. I&#8217;ve been involved in quite large systems that had locale support available like this, but the caveat is that I never actually translated any of the text :) Having the option to was important though.</p>
<p>It just seems overkill to have a view page for every language when the content is going to be the same except for the labels / text, seems to violate DRY. I could imagine there being a need for different versions for right-to-left systems or something like that though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien Guard</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-8361</link>
		<dc:creator>Damien Guard</dc:creator>
		<pubDate>Mon, 28 Apr 2008 12:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-8361</guid>
		<description>I intentionally spelt it in American format for SEO ;-)

You can replace parts of the page using locale-specific resources without any additional support but in my experience this &quot;string replacement&quot; philosophy works to a point when suddenly it just isn&#039;t suitable any more.

The other problem with that is when you open the page it&#039;s quite difficult to know what you&#039;re looking at when all the language-specific stuff isn&#039;t present.

Given that views are supposed to be very simple and that you can use user-controls within them to perform the logic they make good candidates for having their own file-per-language for small sites.

[)amien</description>
		<content:encoded><![CDATA[<p>I intentionally spelt it in American format for SEO ;-)</p>
<p>You can replace parts of the page using locale-specific resources without any additional support but in my experience this &#8220;string replacement&#8221; philosophy works to a point when suddenly it just isn&#8217;t suitable any more.</p>
<p>The other problem with that is when you open the page it&#8217;s quite difficult to know what you&#8217;re looking at when all the language-specific stuff isn&#8217;t present.</p>
<p>Given that views are supposed to be very simple and that you can use user-controls within them to perform the logic they make good candidates for having their own file-per-language for small sites.</p>
<p>[)amien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://damieng.com/blog/2008/04/27/localizing-mvc-for-aspnet-views-and-master-pages#comment-8360</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 28 Apr 2008 11:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/?p=906#comment-8360</guid>
		<description>Oh bugger, I spelt it wrong too at the start of my comment. I blame your title ;)</description>
		<content:encoded><![CDATA[<p>Oh bugger, I spelt it wrong too at the start of my comment. I blame your title ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

