From 01c0f0d6e0d2a924c0f37c2cbcb3e35da425b401 Mon Sep 17 00:00:00 2001 From: Dan Kim Date: Mon, 20 Aug 2018 04:00:02 +0300 Subject: [PATCH] Update I18n instructions in README --- README.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index b12f8d5..1078c9b 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,8 @@ Here are some of the highlights: - Devise views with Bootstrap 4 -- Used Bootstrap responsive columns -- I18n Support - -***WARNING*** - -This gem copies lots of its code from [devise-i18n-views](https://github.com/mcasimir/devise-i18n-views) gem. - -## Screenshot +- Responsive layout +- I18n support ![Screenshot](https://raw.githubusercontent.com/hisea/devise-bootstrap-views/master/Screenshot.png) @@ -33,13 +27,9 @@ And then execute: $ bundle install -Then you can install the required translations in your `config/locales`. Use [devise-i18n](https://github.com/tigrish/devise-i18n) — the best source for updated Devise translations. You can manually generate locale files by executing `rails generate devise:views:locale `: - -``` sh -rails generate devise:views:locale de -``` +## I18n -will generate `config/locales/devise.views.de.yml`. +Install [devise-i18n](https://github.com/tigrish/devise-i18n) for other locales. Make sure to insert `gem 'devise-i18n'` before `gem 'devise-bootstrap-view'`, see [#55](https://github.com/hisea/devise-bootstrap-views/issues/55). ## Customizing Views