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

what should be the value for [locale] monetary= #62

Open
cnukaus opened this issue Jan 13, 2023 · 0 comments
Open

what should be the value for [locale] monetary= #62

cnukaus opened this issue Jan 13, 2023 · 0 comments

Comments

@cnukaus
Copy link

cnukaus commented Jan 13, 2023

I can't figure out the correct setting in config.ini:

[locale]
monetary=

But with default config I get

File "/usr/lib/python3.9/locale.py", line 610, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

or
ValueError: Currency formatting is not possible using the 'C' locale.

Tried locale.LC_NUMERIC or locale.localeconv() but could get enough clue.

Thanks!

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

No branches or pull requests

1 participant