Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct usage of currency symbol #59

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

rpesche
Copy link

@rpesche rpesche commented Feb 16, 2018

cryptop use the currency symbol of the machine locale.
It means that, for example, if you have a french local fr_FR.UTF-8, even if you set the currency option to USD in your config file, you will have the currency symbol in cryptop.

We can't use anymore the locale package because it need locale to be installed to use a specific currency. User don't wan't to install chinese local to have cryptop value in ¥.

I use the babel library to get all currency symbol without installing locale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant