Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
I18n support for devise views
Ruby
Pull request Compare This branch is 71 commits behind mcasimir:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app/views/devise
lib
locales
spec
.document
.gitignore
.project
.rspec
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
VERSION
devise-i18n-views.gemspec

README.md

devise-i18n-views

I18n support and translations for Devise v2.+ views.

Install

Add the following line to your Gemfile

gem 'devise-i18n-views'

and run bundle install.

Then you need to install the required translations in your config/locales. You can do this either manually (downloading them from devise-i18n-views/locales) or through the apposite generator devise:views:locale, eg.

rails g devise:views:locale it

will generate config/locales/devise.views.it.yml.

Customizing Views

The devise:views:i18n_templates generator will copy all views to your application, so you can modify the files as you wish:

rails g devise:views:i18n_templates

Contributing to devise-i18n-views

with Localeapp

  • Edit the translations directly on the devise-i18n-views project on Locale.
  • That's it!
  • The maintainer will then pull translations from the Locale project and push to Github.

manually

  • Fork the latest master
  • Create a translation file or edit an existing one under locales
  • Make a pull request

Happy translating!

Translation file stub

Please refer to devise-i18n-views/locales/en.yml to grab a stub for your translation

Copyright

Copyright (c) 2012 mcasimir. See LICENSE.txt for further details.

A ruby translation project managed on Locale that's open to all!

Something went wrong with that request. Please try again.