website icon indicating copy to clipboard operation
website copied to clipboard

Localize the position of the $ sign

Open tintou opened this issue 10 years ago • 8 comments

In some locales, the $ should appear right after the amount.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

tintou avatar Feb 12 '15 21:02 tintou

This could be useful:

  • http://php.net/manual/en/function.money-format.php
  • http://php.net/manual/en/class.numberformatter.php

emersion avatar Feb 12 '15 22:02 emersion

I'm kind of against this. The currency is currently always US dollars, and should be formatted as such.

lewisgoddard avatar Feb 12 '15 22:02 lewisgoddard

I understand, but in France we write 25 000 $ even for $. So it makes sense for me.

emersion avatar Feb 12 '15 22:02 emersion

Currency is locale specific and should be formatted as such.

nblackburn avatar Feb 12 '15 23:02 nblackburn

what @lewisgoddard said.

davidak avatar Feb 12 '15 23:02 davidak

Maybe @emersion can use the current list of languages to figure out if a user needs it shifting to the right. I'll leave this open as a wishlist item for now, but it isn't a huge priority, since it's still clearly understandable.

lewisgoddard avatar Feb 12 '15 23:02 lewisgoddard

  • Russian locale, we have $ sign (aswell as all other currencies signs) after the ammount.

ogonkov avatar Mar 23 '15 20:03 ogonkov

I think, that user should have a choice: he prefers to donate $ or he prefers to donate his local currency. Just like I said here https://github.com/elementary/mvp/issues/417

awakentwice avatar Apr 13 '15 19:04 awakentwice