Guard::I18nJs

i18n-js guard 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

Installation

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

Usage

Please read the usage docs[https://github.com/guard/guard#readme]

Standard Ruby on Rails project

guard 'i18n-js' do
  watch(%r{config/locales/.+\.yml})
end

Development

Authors

Dingding Ye (@yedingding)