If user tries to use a locale that their system doesn't fully support,

even though our language MO files are installed, it will switch to C
locale (which is not UTF-8), and the language won't be used in Tux Paint.
Utilizing hack designed by Albert that sets LC_ALL to an arbitrary,
working UTF-8 locale (currently using en_US.UTF-8), and then setting
the LANGUAGE env. var.  Seems to work!  (I can use Fula (ff_SN.UTF-8)
on my Ubuntu 9.04 system that doesn't have Fula support.)
This commit is contained in:
William Kendrick 2010-10-05 23:11:46 +00:00
parent 5d035c1430
commit 053598c9cb
2 changed files with 41 additions and 18 deletions

View file

@ -130,6 +130,10 @@ $Id$
* Creation of thumbnails for personal starters and templates.
* Major rewrite of configuration and locale-setting code.
Albert Cahalan <albert@users.sourceforge.net>,
Bill Kendrick <bill@newbreedsoftware.com>
* New Starters:
-------------
* Elephant