French (Belgium) is a really complex with numbers and even as a native speaker, numbers are quite difficult to write correctly. I've been through the tests and some seem to be wrongs.
Some interesting references from Wikipedia (maybe not the most reliable sources, but at least they exist):
I'd really like this package to handle all the languages, but for the time being, I made my own package to handle all the French numbers. More information here: https://pypi.org/project/nombres-vers-lettres/. Feel free to open issues, or use it to improve this package (although my code is more spaghetti like, but it is also tested and linted).
French (Belgium) is a really complex with numbers and even as a native speaker, numbers are quite difficult to write correctly. I've been through the tests and some seem to be wrongs.
Some interesting references from Wikipedia (maybe not the most reliable sources, but at least they exist):
Big numbers names (in French) Numbers in French (in French)
Alternative (edit)
I'd really like this package to handle all the languages, but for the time being, I made my own package to handle all the French numbers. More information here: https://pypi.org/project/nombres-vers-lettres/. Feel free to open issues, or use it to improve this package (although my code is more spaghetti like, but it is also tested and linted).
The rest of the issue
Cardinal
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L28-L35
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L39-L40
The correct tests would be:
Ordinal
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L52-L54
The correct tests would be:
Also, you should test for
(2000000, 'deux millionièmes'),
, etc.Currency EUR
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L58
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L64
The correct tests would be:
Currency FRF
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L58
https://github.com/savoirfairelinux/num2words/blob/872510dd8bfea767916067f60856fc9c360059fe/tests/test_fr_be.py#L64
The correct tests would be: