Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a standalone i18n library in Ruby?

In Ruby I can't find any localization modules. Are there any or should I use some external library? I have found I18n gem but I don't know if I can use it in standalone application (without Rails). Moreover I need some methods to localize floats and I can't see it in I18n gem.

like image 808
guest Avatar asked Oct 08 '22 05:10

guest


1 Answers

Have you tried r18n?

https://github.com/ai/r18n

It also localizes floats:

https://github.com/ai/r18n/blob/master/r18n-core/spec/locale_spec.rb

like image 147
José Ricardo Avatar answered Oct 13 '22 00:10

José Ricardo