GithubHelp home page GithubHelp logo

devise-i18n-views's Introduction

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!

devise-i18n-views's People

Contributors

arturt avatar bbonamin avatar mcasimir avatar myabc avatar rafaelmcarvalho avatar raszi avatar saicheg avatar wordgraphy avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.