<?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: Django auto-translation of field values</title>
	<atom:link href="http://overtag.dk/wordpress/2008/07/django-auto-translation-of-field-values/feed/" rel="self" type="application/rss+xml" />
	<link>http://overtag.dk/wordpress/2008/07/django-auto-translation-of-field-values/</link>
	<description>101% objective... always</description>
	<lastBuildDate>Wed, 28 Dec 2011 02:47:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: benjamin</title>
		<link>http://overtag.dk/wordpress/2008/07/django-auto-translation-of-field-values/comment-page-1/#comment-7933</link>
		<dc:creator>benjamin</dc:creator>
		<pubDate>Tue, 22 Jul 2008 19:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://overtag.dk/wordpress/?p=59#comment-7933</guid>
		<description>That depends. I wrote &quot;from django.utils.translation import gettext_lazy as _&quot; and that&#039;s the one returning ascii. If you import ugettext, then it will return unicode. I&#039;m not sure, but you&#039;re most likely right that to_python() should return the same encoding as the rest of the model.. so yes! =)</description>
		<content:encoded><![CDATA[<p>That depends. I wrote &#8220;from django.utils.translation import gettext_lazy as _&#8221; and that&#8217;s the one returning ascii. If you import ugettext, then it will return unicode. I&#8217;m not sure, but you&#8217;re most likely right that to_python() should return the same encoding as the rest of the model.. so yes! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://overtag.dk/wordpress/2008/07/django-auto-translation-of-field-values/comment-page-1/#comment-7932</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 22 Jul 2008 13:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://overtag.dk/wordpress/?p=59#comment-7932</guid>
		<description>Hello!

Are you sure to return value in str?
return str(_(value))

May be it&#039;s more safe to return it  like that:
return unicode(_(value)) 

WBR, 
Nick</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>Are you sure to return value in str?<br />
return str(_(value))</p>
<p>May be it&#8217;s more safe to return it  like that:<br />
return unicode(_(value)) </p>
<p>WBR,<br />
Nick</p>
]]></content:encoded>
	</item>
</channel>
</rss>

