Jump to content

(Workaround) Help on PS 1.7 CLDR configuration ?!


dtwfung

Recommended Posts

Hi There,

My PS 1.7.6.4 installation have TWO languages, Both uses USD (US Dollar) and HKD (Hongkong Dollar) as choice of currency.

However, the default setup use "$" ONLY for BOTH USD and HKD. Customers has confusion on the value with $100 (USD) VS $778 (HKD). I would like to add a label for them, e.g. US$100 and  HK$778.

(I have raised another thread on above here https://www.prestashop.com/forums/topic/1016921-how-to-add-currency-label-in-product-price/  but no clue.)

I read another thread here https://www.prestashop.com/forums/topic/996665-how-to-change-currency-symbol-solved/ and seems this is a right approach.

With the steps described there, I copied en.xml (from /localization/CLDR/core/common/main) and copied into en_HK.xml and en_US.xml AFTER changed label as follows:

            <currency type="USD">
                <displayName>US Dollar</displayName>
                <displayName count="one">US dollar</displayName>
                <displayName count="other">US dollars</displayName>
                <symbol>US$</symbol> (Also did the same thing for "  <currency type="HKD">"

Also, I changed "Download pack data" to NO and CLEARED Cache. 

However, NO change at all in the front office.

See anyone can help me, any official document about CLDR ?!

Whether en_HK.xml and en_US.xml are corrected filename ?!

MANY thanks  !!!!

 

 

Edited by dtwfung (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...