Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.12 KB

README.rdoc

File metadata and controls

44 lines (25 loc) · 1.12 KB

Guard::I18n

I18n guard allows to automatically rebuild javascript translations from existing *.yml of your app that contains a Javascript section.

Install

Please be sure to have Guard installed before continue.

Install the gem:

gem install guard-i18n

Add it to your Gemfile (inside development group):

gem 'guard-i18n', :git => TODO, :branch => TODO

Add guard definition to your Guardfile by running this command:

guard init i18n

Usage

Please read Guard usage doc

Guardfile

Please read Guard doc for more info about Guardfile DSL.

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

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

Nicolas Zermati