0.0
No commit activity in last 3 years
No release in over 3 years
i18n-js_padrino is a Padrino's wrapper around i18n-js' Rails plugin for using your I18n locales in JavaScript.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.1.2
 Project Readme

i18n-js wrapper for Padrino¶ ↑

Read github.com/fnando/i18n-js for how to use i18n-js on your app but include the gem i18n-js_padrino instead of the original in your Gemfile.

Make it work in dev mode (quick & dirty way)¶ ↑

Include this in your app.rb:

before do
  SimplesIdeias::I18n.export! if (Padrino.env == :development)
end

TODO¶ ↑

  • Support sprockets.

  • Figure out why it doesn’t reload the locales when reloading the page (you have to restart the server) even if

the before is there in dev mode.