GNOME Bugzilla – Bug 721322
Chinese currency display symbol in e.g. HK undesired if LANG=C
Last modified: 2018-06-29 23:23:16 UTC
Created attachment 265119 [details] testcase Step to reproduce 1. Destktop language us english, gnucash default concurrency is hkd, 2. Create a account with CNY, Outcome: The display becomes a Chinese chacracter as shown in the attachment. The correct display should be in English "CNY" because we are in English interface.
Created attachment 265120 [details] screenshot
Hm, that is a difficult case. We added in 2.5 a new field to the currencies: local-symbol because some people disliked the ISO codes for foreign currencies. The bad news: It is not translatable, but the good news: you can edit it in Tools->Security editor checkmark Show national currencies, open the CURRENCY tree search CNY and click edit replace Display Symbol with your desired text and confim it by clicking OK [DEVS: before closing this bug, we should add above section or similar to the docs before <sect2 id="currency_acct_user2"> in ch_currency.xml of the guide] I hope we did not confuse you too much. But in theory the 元 symbol is right for CNY? Just for curiosity: why do you have so complex settings? Is it HK specific? Can we make it somehow simpler?
BTW: LANG=C is the wrong way, if you only wish to switch the language. You should use e.g. LANGUAGE=en. LANG will also change the numeric, monetary and date format. We got a similar report (Bug 727466 - The symbol of CNY changed to 元) from CN. See my comments there, too. I don't know enough about Special Administrative Regions of the People's Republic of China. Are there other changes relevant to gnucash?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 727466 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=721322. Please update any external references or bookmarks.