samuelmarina/is-even

Globalization

Opened this issue · 1 comments

Great package !
I would love to see some additional layer of globalization.

is_even.configure("en-us").is_even("twenty two") -> true
is_even.configure("fr-fr").is_even("vingt-deux") -> true
is_even.configure("fr-be").is_even("nonante huit") -> true

Windows published the list of supported language tags, that would greatly help in my opinion.

The function names should also be translated, for example:

is_even.configure("de-de").ist_gerade("zweiunddreissig") -> true