Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
I18n implemented and russian support added. #109
Implementation of I18n.
This commit shouldn't change current behavior of En locale and I think is pretty clear.
Hopefully it will suite your needs.
MrHant, I really want this feature but when I was reading this part of the code I thought "it will be difficult to support new languages if we embed language specific conditions in the code" like this.
What do you think about it?
added a commit
this pull request
Jul 28, 2011
Finally, i18n is in will_paginate for Rails 3. See https://github.com/mislav/will_paginate/blob/rails3/lib/will_paginate/locale/en.yml for values you can override.
I'm going to try to backport this to will_paginate 2.3.x for people running Rails 2.
I didn't pull this pull request because it creates a dependency to I18n while with my change I only rely on I18n if it's present, but also include defaults in the codebase.