On 10/13/09 5:25 PM, Brion Vibber wrote:
I've been poking around on our i18n to see if we can get localizations
working with less fidgeting; all languages should "just work" when you
drop in your StatusNet install.
We're loading translations using gettext, which unfortunately can only
load translations for languages which are set up as locales
system-wide. This is massively problematic and has lead to
localization just plain not working for most people -- it's even
broken on identi.ca!
Ok, got some good news -- I seem to have been able to work around this,
at least on my Ubuntu 8.10 test box. Setting a valid locale like en_US,
_then_ whatever locale we want, seems to work. (Try it out --
http://status.leuksman.com/)
I've got this running out of i18n-work branch on my fixes repo:
http://www.gitorious.org/~brion/statusnet/brion-fixes
Can a few folks check out the work branch and confirm it seems to be
working on different systems? If so I'll merge the fixes into all
branches and we can at least move forward with general localization work
for now.
I think something like this'll do it:
git remote add brion-fixes
|git://gitorious.org/~brion/statusnet/brion-fixes.git
<git://gitorious.org/%7Ebrion/statusnet/brion-fixes.git>|
git checkout brion-fixes/i18n-work
-- brion
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev