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

Deprecated Pypi latest version (not present UAH currency for RU language) #440

Closed
hrimov opened this issue Feb 9, 2022 · 2 comments
Closed

Comments

@hrimov
Copy link

hrimov commented Feb 9, 2022

Pypi latest version is not actual to source code. I really need UAH-currency for RU language. This commit and tests tell that it is already implemented.

Executable code example

from num2words import num2words


if __name__ == '__main__':
    number: float = 126.52
    print(num2words(number=number, lang='ru', to='currency', currency='UAH'))

Expected behavior

сто двадцать шесть гривен, пятьдесят две копейки

Result

KeyError: 'UAH'
raise NotImplementedError(
NotImplementedError: Currency code "UAH" not implemented for "Num2Word_RU"
@mrodriguezg1991
Copy link
Contributor

@banchinche hello , a new version of the library was deployed 0.5.12 , can you verified if the issue is fix ?
Let me know in order to close this issue
Thanks

@smilingDima
Copy link
Contributor

Yes, it been fixed.

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

3 participants