Hi,<br><br><div class="gmail_quote">2011/2/16 Erik Blankinship <span dir="ltr"><<a href="mailto:erikb@mediamods.com">erikb@mediamods.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> 2. sugar.activity.main.main() handles locale and gettext() setup for<br>
> Sugar activities. If you don't use it (because it probably won't<br>
> work outside of Sugar) you'll have to take care of initialisation<br>
> yourself.<br>
<br>
</div>This might be helpful?<br>
<br>
If you are trying to run turtleart in gnome in your locale, try adding<br>
this bit of code to the top of turtleart.py:<br>
<br>
import gettext<br>
gettext.bindtextdomain( "org.laptop.TurtleArtActivity", "locale" )<br>
gettext.textdomain( "org.laptop.TurtleArtActivity" )<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div><br>I wrote to the list about localization in italian of turtle art outside of Sugar.<br clear="all">Adding lines of code that you propose, now everything works perfectly<br>Thanks<br>claudio<br>-- <br>
<a href="mailto:claudio.carboncini@gmail.com">claudio.carboncini@gmail.com</a><br>"most of skolelinux server admins are not IT professionals"<br>Registered Linux User #477065<br>