Skip to content

Instantly share code, notes, and snippets.

@vita
Created December 8, 2009 16:48
Show Gist options
  • Save vita/251794 to your computer and use it in GitHub Desktop.
Save vita/251794 to your computer and use it in GitHub Desktop.
# config/locales/cz.rb
{
:'cz' => {
:i18n => { :pluralize => lambda { |n| n == 1 ? :one : (2..4).include?(n) ? :few : :other } },
:photo_count => {
:one => '{{count}} fotka',
:few => '{{count}} fotky',
:other => '{{count}} fotek'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment