[gcompris-devel] Segmentation fault CVS

Bruno Coudoin bruno.coudoin at free.fr
Fri Jan 30 14:55:17 UTC 2004


I finaly tested it. It works fine. Finally my implementation of i18n in
redraw.py was correct back in december but the binding was missing.
One person is missing and everything goes wrong ;)

Bruno.


Le lun 26/01/2004 à 02:59, Olivier Samyn a écrit :
> Hello...
> 
> The I18N support for the python plugins is in the CVS :)
> 
> I made some minor changes to get it working.
> 
> to use I18N, just do the following import:
> from gettext import gettext as _
> 
> and next you are able to get the translated strings with _(<your 
> string>) just as in C code. Small print example:
> print "Something"      < Not translated version
> print _("Something")  < Translated version
> 
> If some issues remains don't hesitate :)
> 
> Otherwise I will try to prepare some demo material on how to program 
> python plugins for gcompris :)
> 
> Olivier Samyn.
> 
> Bruno Coudoin wrote:
> 
> >I checked your code. The keyboard issue is gone.
> >
> >Another very important point for you to help is the I18N support in the
> >python boards. I have been unable to make is work. It's populated
> >properly in the .po files but whatever I tried, it's never translated.
> >Please give us a reference implementation for this.
> >
> >Bruno.
> >  
> >
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> 





More information about the Gcompris-devel mailing list