summaryrefslogtreecommitdiff
path: root/lib/language.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-10-16 17:42:27 +0000
committerBrion Vibber <brion@pobox.com>2009-10-16 17:42:27 +0000
commit531c0738daab2d5f9b8324b85b45af7131aec0da (patch)
treec89880e24d1aaa913294c7ba984ad0fec4d1472e /lib/language.php
parent4ef0665408aee19d9ae69758e02fc98003e202ff (diff)
Workaround for not fully natively set up locales with native gettext...
Set "en_US" locale first, then the locale we want for our user. This seems to initialize gettext properly somehow, which I could see when the languages would come up briefly on settings save when changing from a supported language. Definitely works for ga_ES on my Ubuntu system (8.10 intrepid), hopefully reasonably consistent.
Diffstat (limited to 'lib/language.php')
0 files changed, 0 insertions, 0 deletions