Klein is a lightweight Rails I18n database backend.
script/plugin install git@github.com:thomaskay/klein.git
Create and run migrations with:
rake klein:setup
rake db:migrate
And add the following to your environment:
I18n.backend = I18n::Backend::KleinBackend.new
I18n.default_locale = :en
The interface can be enabled by adding the following to your routes:
map.klein
The interface is protected with basic authentication.
- Making it possible to override the authentication filter used.
- Making it easier to add a new locale.