Skip to content
ashokkumar edited this page Feb 19, 2013 · 1 revision

I18n has been achieved using the rails default I18n API. And for javascript RapidFTR uses i18n-js gem https://github.com/fnando/i18n-js.

  • To add any new language, please update LOCALES and LOCALES_WITH_DESCRIPTION constant in application.rb and add the corresponding "locale".yml in config/locales dir.
  • You can add new description to any language by editing the config/locales/"locale".yml.
  • To generate translation.js which is used for I18n in javascript run the rake task asset:precompile.
Clone this wiki locally