Skip to content

Guard::I18n::JS automatically export your i18n js transations when needed

License

Notifications You must be signed in to change notification settings

pragmaticly/guard-i18n-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guard::I18nJs

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

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 {Guard 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)

About

Guard::I18n::JS automatically export your i18n js transations when needed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages