Hi, 2011/2/16 Erik Blankinship <er...@mediamods.com>
> > 2. sugar.activity.main.main() handles locale and gettext() setup for > > Sugar activities. If you don't use it (because it probably won't > > work outside of Sugar) you'll have to take care of initialisation > > yourself. > > This might be helpful? > > If you are trying to run turtleart in gnome in your locale, try adding > this bit of code to the top of turtleart.py: > > import gettext > gettext.bindtextdomain( "org.laptop.TurtleArtActivity", "locale" ) > gettext.textdomain( "org.laptop.TurtleArtActivity" ) > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > I wrote to the list about localization in italian of turtle art outside of Sugar. Adding lines of code that you propose, now everything works perfectly Thanks claudio -- claudio.carbonc...@gmail.com "most of skolelinux server admins are not IT professionals" Registered Linux User #477065
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel