ruby - Best way to handle foreign number in Rails? -


i wonder something. have rails app had been translated in 30/40 languages including exotic languages. wonder what's best way handle numbers , number translation.

for example, have in english, string 3 items, in persian or arabic, become ٣ سلع‎. unfortunately, getting 3 سلع using i18n gem.

i using file locale:

https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/ar.yml

the locale correclty set ar output 3 in place of ٣ (the arabic/persian character)

any ideas?


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -