akshaynagpal / w2n

Convert number words (eg. twenty one) to numeric digits (21)
http://w2n.readthedocs.io
MIT License
169 stars 78 forks source link

Whats the difference to the repo w2ni18n ? #53

Closed yzhang123 closed 3 years ago

yzhang123 commented 3 years ago

Whats the difference to the repo w2ni18n ?

bastie commented 3 years ago

w2ni18n contains the language specific words in dynamic loaded resource files. You do not modify source code to add or change languages. see https://github.com/bastie/w2ni18n/blob/master/README.md#i18n

internal use w2ni18n RFC lang codes and for example on linux system take the LANG environment variable and some other fallbacks

if you need only English it is same like w2n