This repository has been archived by the owner on May 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 319
Internationalization
nanravi edited this page May 9, 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.