[sugar] internationalization?
Ian Bicking
ianb at colorstudy.com
Wed Apr 18 19:35:13 EDT 2007
Erik Blankinship wrote:
> Hello
>
> How should activity developers internationalize their activities
> (strings, amongst other things)?
>
> Is there a way to ask which locale your activity is in?
I believe everything is using standard gettext localization. I'm not
clear how things like localized dates should work; in theory
strftime('%c') would work, but it's hardly a well-tuned date format.
There's some discussion here:
http://wiki.laptop.org/go/Python_Style_Guide#Internationalization_and_Localization
-- but that section should really be expanded. The Pylons document
actually goes into fairly good detail:
http://pylonshq.com/docs/internationalization.html
If you aren't using Python, then I don't really know.
--
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
More information about the Sugar
mailing list