Skip to content

Instantly share code, notes, and snippets.

@caovillanueva
Last active May 25, 2018 16:07
Show Gist options
  • Save caovillanueva/212271172ea3f578917d9e90036ac67e to your computer and use it in GitHub Desktop.
Save caovillanueva/212271172ea3f578917d9e90036ac67e to your computer and use it in GitHub Desktop.
PS1.7 Currency format custom (In 1.7 version you cant custom $ via Backoffice)Check the follows files to check where put the changes.public_html / translations / cldr #PS17
Check this for sign decimals:
before:
"symbols-numberSystem-latn":{"decimal":",",.........
after:
"symbols-numberSystem-latn":{"decimal":".",.........
Check this for price format:
"standard":"#,##0.00\u00a0\u00a4"....
also change "grow up" string ":
before: "group":"\u00a0"
after: "group":","
ONLY CHANGE THE LAST STANDARD string.
After:
For normal $ format :
"standard":"\u00a4#,##0.00\u00a0"
for Euro € format :
"standard":"\u00a4\u00a0#,##0.00"
************************************
For the symbol position, open the Translations>cldr>main-en-US-numbers, fins this code "standard":"#,##0.00u00a0u00a4", and change to "standard":"u00a4u00a0#,##0.00"
the u00a4 is the symbol and u00a0 is a space.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment