Skip to content

Commit

Permalink
Update I18n instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dankimio committed Aug 20, 2018
1 parent abfcffc commit 01c0f0d
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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 <chosen_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

Expand Down

0 comments on commit 01c0f0d

Please sign in to comment.