After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721322 - Chinese currency display symbol in e.g. HK undesired if LANG=C
Chinese currency display symbol in e.g. HK undesired if LANG=C
Status: RESOLVED DUPLICATE of bug 727466
Product: GnuCash
Classification: Other
Component: Currency and Commodity
2.6.0
Other Linux
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-02 03:43 UTC by Leo
Modified: 2018-06-29 23:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (3.30 KB, application/x-gnucash)
2014-01-02 03:43 UTC, Leo
Details
screenshot (78.79 KB, image/png)
2014-01-02 03:44 UTC, Leo
Details

Description Leo 2014-01-02 03:43:39 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.
Comment 1 Leo 2014-01-02 03:44:15 UTC
Created attachment 265120 [details]
screenshot
Comment 2 Frank H. Ellenberger 2014-01-07 00:23:01 UTC
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?
Comment 3 Frank H. Ellenberger 2014-04-16 20:33:35 UTC
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?
Comment 4 Geert Janssens 2015-02-07 16:27:21 UTC
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 ***
Comment 5 John Ralls 2018-06-29 23:23:16 UTC
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.