This Rails plugin adds Rails core translations to your application.
Rails core translations are downloaded from http://github.com/svenfuchs/rails-i18n by default.
./script/plugin install git://github.com/zargony/rails-i18n-updater.git
rake i18n:update
This installs the rails-i18n-updater plugin into vendor/plugins/rails-i18n-updater
and
downloads core translations to vendor/rails-locales
.
To update to the latest core translations, use:
rake i18n:update
The plugin provides the rake task i18n:update
which uses git
to download the latest core translations to vendor/rails-locales
. This rake task can be started manually whenever you want to update to the latest core translations.
On application start, the plugin automatically adds downloaded core translations to I18n.load_path
. Only locales you used in your applications are added and they're prepended to the load path so you can override the defaults in your own locale files.
- You need
git
in your PATH forrake i18n:update
to work correctly. - Your application must use the simple I18n backend (using .yml or .rb files for locales).
Copyright (c) 2009 Andreas Neuhaus, released under the MIT license