[GNC] Alternate Language (Again)

John Ralls jralls at ceridwen.us
Fri Aug 27 18:57:49 EDT 2021



> On Aug 27, 2021, at 2:59 PM, <paul at kroitor.ca> <paul at kroitor.ca> wrote:
> 
> I should be following up an earlier thread of two weeks ago, but I find I've
> deleted the messages from my Inbox and can't see any way to "Reply To"
> something I only have in the archives. So I'm creating a new thread
> (Apologies: I'm no longer used to using true mailing lists instead of
> wrappers like nabble that make it all child's play).
> 
> Here's that prior thread:
> 
>> On Aug 20, 2021, at 10:29 AM,
> <https://lists.gnucash.org/mailman/listinfo/gnucash-user>
> <https://lists.gnucash.org/mailman/listinfo/gnucash-user> wrote:
>> 
>> Hello all. This may have already been covered, but after the death of
> Nabble
>> I can't see how to do searches throughout the archive.
>> 
>> I need to produce accounting reports in a different language (French), but
> I
>> would prefer to use a single installation of Gnucash (all my other sets of
>> books are English). 
>> 
>> 1.	Can I switch languages just for printing the reports? If yes, how? I
>> understand that the Account Names, Descriptions, and so on are all going
> to
>> need to be recorded in French in this set of books.
>> 
>> 2.	If that's not possible, how can I install two versions of GnuCash on
>> Windows? Can I open the books in English Gnucash, work on them, then close
>> and reopen the same books in the French GnuCash?
> 
> Most search engines can search the list archives, just say
> site:lists.gnucash.org/pipermail/gnucash-user followed by your search terms.
> 
> There's no such thing as English or French versions of GnuCash, every
> installation on Windows and macOS includes all of the translations. Some
> Linux distros try to save a few kB of space by separating out the
> translations, but that's not your concern.
> 
> What you want to do is make a shortcut to GnuCash with the LANG environment
> variable set to "fr_FR" as explained by this blog post:
> https://netlicensing.io/blog/2012/06/15/set-environment-variables-in-windows
> -shortcut/
> 
> Regards,
> John Ralls
> 
> =====================
> 
> That seemed to fully answer the basic question, but now that I try it out, I
> find it doesn't work. I still get everything (except the creation of the
> Chart of Accounts, for which the language selection is working) in English.
> 
> Here is the shortcut target I'm using, as per the link suggested:
> 
> C:\Windows\System32\cmd.exe /c "SET LANG=fr_FR && START /D ^"C:\Program
> Files (x86)\gnucash\bin^" gnucash.exe"
> 
> Compare with the webpage text, which is:
> C:\Windows\System32\cmd.exe /c "SET LANG=en  && START /D ^"C:\Program Files
> (x86)\Inkscape^" inkscape.exe"
> 
> As these are as close to identical as can be achieved, I am at a loss as to
> why it doesn't work.

GnuCash has another layer to it's localization. Try 

C:\Windows\System32\cmd.exe /c "SET LANG=fr_FR && SET LANGUAGE=fr_FR && START /D ^"C:\Program
Files (x86)\gnucash\bin^" gnucash.exe"

Regards,
John Ralls




More information about the gnucash-user mailing list