Skip to content

serek/polish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polish

Polish language support for Ruby on Rails.

Adds correct polish pluralization and better date formats. Also includes support for standalone months. ("%B %Y" should be Grudzień 2009, but "%d. %B %Y" should be 24. grudnia 2009).

Based on Russian by yaroslav.

Install

Install as a gem:

in config/environment.rb:

Rails::Initializer.run do |config|
  config.gem 'polish', :source => 'http://gemcutter.org'
end

and then: rake gems:install

or a plugin:

script/plugin install git://github.com/grk/polish.git

Then, magic happens. No need to set default locale.

Overrides

Translations and date formats can be overridden in config/locales/pl.yml

About

Polish language support for Ruby on Rails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published