swedish_pluralize plugin: Swedish pluralization rules for Rails

For those of you looking for Swedish pluralization for Rails, I just refactored this module of ours into a plugin. You can find it on GitHub: http://github.com/newsdesk/swedish_pluralize/tree/master

It’s extracted from the old swe_rails plugin by Ola Bini, which did a bit more than just pluralize in Swedish. So if pluralize is all you want to do, check out the plugin.

It adds an string inflector like so:

>> “bok”.swedish_pluralize
=> “böcker”

Happy pluralizing!

Post a Comment

Your email is never shared. Required fields are marked *

*
*