Re: [Tuxpaint-devel] [Tuxpaint-i18n] Bug in locale code?
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Mark K. K. <mkk...@gm...> - 2008-02-20 03:12:34
|
On Tue, Feb 19, 2008 at 03:30:23PM -0800, Bill Kendrick wrote: > The Khmer text renders properly in Tux Paint, but at that point in the code > (i18n.c's set_current_language()), where I want to detect what locale we > actually got, I'm getting LANG_EN for English. :( > > Can anyone tell what we're doing wrong in there? I'm not sure, but we tweaked i18n.c to death to get it to work properly on multiple platforms that I wouldn't be surprised if the return value isn't what you'd expect it to be in the middle of the i18n initialization code. If at all possible, I recommend calling get_current_language() from outside of i18n.c instead. I added that function specifically to tell IM what language is currently in use from outside of i18n.c. -Mark |