John, Per your input, I have renamed the two files (for the moment) "[email protected]" and "[email protected]". After poking around in /usr/share/locale on various systems for clarification and googling, maybe "[email protected]" 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. ----------------------------------- Jeff A. Earickson, Ph.D Senior Server System Administrator Colby College, 4214 Mayflower Hill, Waterville ME, 04901-8842 207-859-4214 (fax 207-859-4186) Eastern Time Zone, USA ----------------------------------- On Sat, Mar 29, 2014 at 12:54 PM, John Ralls <[email protected]> wrote: > > On Mar 29, 2014, at 8:39 AM, Jeff Earickson <[email protected]> wrote: > > > John, > > > > I searched around in my Fedora 20 system for any sign of kok files and > did not find any as an example. > > Would kok_IN.po (for devanagari) and kok_roa_IN.po be acceptable? I > find "at" signs in file names distasteful. > > No, and your personal taste is immaterial. > > For an example of two scripts for a single language on Fedora, see > /usr/share/locale/uz@Latn and /usr/share/locale/uz@cyrillic, or > en@cyrillic, en@hebrew, en@piglatin, etc. > > Country codes are generally only used on po files when there are different > forms of the language used in different countries. Common examples are > en_US vs. en_GB and pt_PT vs. pt_BR. > > > > > > Everything compiles, but no go at launch time. I get: > > > > k$ LANG=kok_IN LC_ALL=kok_IN ./gnucash > > Application Path > /Users/jaearick/gnucash-project/gnucash-git/bin/./gnucash > > > > (process:5279): 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 > > > > Does this mean fiddling with the gtk library or some issue with gnucash > itself? Is some initial setting needed in src/scm/main.scm for LANG? > > It means setlocale() can't find entries for all of the required LC_FOO > subdirectories, so it fails. The way to use an unsupported language is to > include it in $LANGUAGE so that it's visible to gettext but not to > setlocale(). > > Regards, > John Ralls > > _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
