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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -