translate-numbers
v1.0.7
Published
An utility NPM package to translate a english number into desired langauge.
Downloads
496
Readme
translate-numbers
Translate a english number into desired langauge.
It helps in translating a english number into various supported locale.
Function to convert is as following :
convertToLanguage
convertToLanguage('123', 'hindi') // Output an String - १२३
convertToLanguage('123', 'japanese') // Output an String - 一二三
For live demo and testing click here
Currently supports Chinese
English
Hindi
Japanese
Spanish
NOTE - I will be adding more langauges in next coming updates. For anything please drop an mail at [email protected]