John, I can get the Spanish version of (devel) gnucash to work fine if I change System Preferences->Language/Region to Spanish as the primary language and then reboot my Mac. But if I don't do this, and I want to get the (development) version of gnucash to run in Spanish, no setting of LANG/LANGUAGE/LC_* seems to do it. The following of:
LANGUAGE=es LANG=es ./gnucash (process:377): gnc.gui-WARNING **: [set_mac_locale()] Apple Locale is set to a value en_IN not supported by the C runtime (process:377): gnc.gui-WARNING **: [set_mac_locale()] Using en_IE instead. (process:377): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Backtrace: In /Users/jaearick/gnucash-project/gnucash-git/share/gnucash/guile-modules/gnucash/main.scm: 76: 0* [setlocale 0 ""] /Users/jaearick/gnucash-project/gnucash-git/share/gnucash/guile-modules/gnucash/main.scm:76:1: In procedure setlocale in expression (setlocale LC_ALL ""): /Users/jaearick/gnucash-project/gnucash-git/share/gnucash/guile-modules/gnucash/main.scm:76:1: Invalid argument Even if I explicitly define all of the LANG/LANGUAGE/LC_* environment variables, same error. Totally puzzled... -Jeff On Sun, Mar 30, 2014 at 11:20 AM, John Ralls <jra...@ceridwen.us> wrote: > > On Mar 30, 2014, at 7:40 AM, Jeff Earickson <jaear...@colby.edu> wrote: > > John, > > Per your input, I have renamed the two files (for the moment) " > k...@devanagari.po" and "k...@latin.po". After poking around in > /usr/share/locale on various systems for clarification and googling, maybe " > k...@devanagari.po" should simply be "kok.po" -- the language in its > commonly used alphabet. > > I am still puzzling over how to get gnucash to run. I converted my Mac > into Spanish via System Preferences->Language/Region and had no problems > with gnucash in Spanish. No fiddling with LANG/LANGUAGE/LC variables. Muy > bien. I then selected Konkani as my primary language on my Mac (not much > changed except for dates and times). No go with gnucash. I stared at > http://wiki.gnucash.org/wiki/Locale_Settings and I am still experimenting. > > > You need a plain kok.po because that's what's in the language list when > you add it in system preferences. The easy way to test is to just add a > symlink in $PREFIX/share/locale, e.g.: > ln -s $PREFIX/share/locale/kok@devangari $PREFIX/share/kok > > Regards, > John Ralls > > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel