i18n-js is a small library to provide the I18n translations on the Javascript. guard-i18n-js runs the i18n-js exporter to generate the new translations js when needed.
- Compatible with i18n-js 3.0.0.rc*
- Tested on Ruby 1.8.7, 1.9.2 & 1.9.3
Add this line to your application's Gemfile:
gem 'guard-i18n-js'
And then execute:
$ bundle
Or install it yourself as:
$ gem install guard-i18n-js
Add guard definitions to your Guardfile by running:
$ guard init i18n-js
Please read the {Guard usage docs}[https://github.com/guard/guard#readme]
guard 'i18n-js' do
watch(%r{config/locales/.+\.yml})
end
- Source hosted at GitHub
- Report issues/Questions/Feature requests on GitHub Issues