Permalink
Browse files

Updated README.textile

  • Loading branch information...
1 parent 87f6e91 commit 585bd8b8e3c2ae1df103ecb2a06afd2511112f06 Paul Engel committed Jul 21, 2010
Showing with 18 additions and 1 deletion.
  1. +18 −1 README.textile
View
@@ -7,7 +7,9 @@ h2. Introduction
Rich-pluralization is a module of E9s ("http://github.com/archan937/e9s":http://github.com/archan937/e9s) which provides localized pluralization in combination with i18n. Doing this enables you to only translate words in singular form as the module pluralizes the translation for you.
-For instance, in the Dutch locale you can do the following:
+h3. Pluralization
+
+As as example, in the Dutch locale you can do the following:
<pre>
>> "Appendix".pl
@@ -16,6 +18,21 @@ For instance, in the Dutch locale you can do the following:
Dutch pluralization rules are provided along with Rich-pluralization and has a 86% test coverage out of 54977 words which are provided by "INL (Instituut voor Nederlandse Lexicologie)":http://www.inl.nl. Unfortunately we can't distribute the complete list of nouns due to the closed nature of the database.
+h3. Inflections
+
+Rich-pluralization preserves the casing in the pluralized result:
+
+<pre>
+ >> "huis".pl
+ => "huizen"
+ >> "Huis".pl
+ => "Huizen"
+ >> "HUIS".pl
+ => "HUIZEN"
+</pre>
+
+*Note*: @I18n.locale@ is @:nl@
+
h2. Installation
h3. Using Rich-pluralization as gem

0 comments on commit 585bd8b

Please sign in to comment.