Jump to content
dtwfung

(Workaround) Help on PS 1.7 CLDR configuration ?!

Recommended Posts

Posted (edited)

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)

Share this post


Link to post
Share on other sites

I tried to play with CLDR but never work. Just saw a post and said PS changed the CLDR in 1.7.6.x.

I gave up and I modified the `ps_currency_lang` content directly.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More