r19260 - gnucash/trunk/src/gnome-utils - OSX: Use the language list instead of the locale

John Ralls jralls at code.gnucash.org
Tue Jun 15 18:47:36 EDT 2010

Author: jralls
Date: 2010-06-15 18:47:35 -0400 (Tue, 15 Jun 2010)
New Revision: 19260
Trac: http://svn.gnucash.org/trac/changeset/19260

OSX: Use the language list instead of the locale

Language list is better than locale:

* Locale is only one choice, language list gives user several chances
  before defaulting to english.

* Locale is set on the Formats page in System Preferences>Language &
  Text and labelled "Region", which makes one think that it's separate
  from language choices.

* This new code looks at only the first two letters, so any time
  (e.g.) German is selected as the language it will use the de_DE
  localization. This will have to be elaborated if we ever get
  regional language translations.

More information about the gnucash-patches mailing list