> Hi All, >=20 > There has been some recent discussion about i18n and activities. Using=
> the python gettext module, I set up i18n in Kuku, and put up some notes= > at http://wiki.laptop.org/go/Python_i18n . It looks like there is a bi= t > of code that needs to be in each activity, such as some logic for > determining which language to localize to, and pulling the correct .mo > file for it. etc. Is it appropriate to put this code in some sugar > module (sugar.i10n for example?) so that all activity developers have t= o > do is wrap strings in _(), create the .pot/.po/.mo files, and do > something like (suggested by mncharity) >=20 > from sugar import i10n > i10n.install() >=20 > ? >=20 >=20 Something I mentioned on IRC is Babel (http://babel.edgewall.org/). It might be a nice toolkit to use for l10n stuffs. Disclaimer: made by a friend of mine, so I am probably biased ;-) --Noah
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Sugar mailing list [email protected] http://lists.laptop.org/listinfo/sugar

