Skip to content

nicoolas25/guard-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Internationalization for JS code from locale files guard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages