Skip to content

Latest commit

 

History

History
82 lines (49 loc) · 3.23 KB

README.textile

File metadata and controls

82 lines (49 loc) · 3.23 KB

e9s

Enrichments (e9s) for Ruby Internationalization (i18n)

Introduction

E9s was created due to the need of simply implementing i18n within a Rails application. It enriches I18n, Formtastic, the String and Symbol classes to make life easier for the Rails developer. Want to see what Enrichments (e9s) really has to offer within a couple of seconds? Please visit http://github.com/archan937/e9s-demo for a complete demo application.

Installation

Using e9s as gem

Add gemcutter as a gem source, if you haven’t already done it:

  sudo gem sources -a http://gemcutter.org/

Install the e9s gem:

  sudo gem install e9s

Add e9s in environment.rb as a gem dependency:

  config.gem "e9s"

Using e9s as plugin

Install the e9s plugin:

  ./script/plugin install git://github.com/archan937/e9s.git 

Optionally, you can also install the Formtastic plugin:

  ./script/plugin install git://github.com/justinfrench/formtastic.git

Usage

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Contact me

For support, remarks and requests please mail me at paul.engel@holder.nl.

Credit

This Rails plugin depends on:

i18n
http://github.com/svenfuchs/i18n

Formtastic (optional)
http://github.com/justinfrench/formtastic

ToDo’s

  • Complete the Dutch inflections
  • Complete README.textile
  • Correct CHANGELOG and VERSION
  • Use the XSS approach for printing internationalized strings

License

Copyright © 2010 Paul Engel, released under the MIT license

http://holder.nlhttp://codehero.eshttp://gettopup.compaul.engel@holder.nl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.