
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
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).
Warning: as of version 0.1.0, polish is only tested with Rails 3 and Bundler. Use with caution, might give unexpected results.
To add Polish to your Rails app, simply add it to your Gemfile:
gem "polish", ">= 0.1.0"
Additionally, if you change the backend of I18n, you will need to make sure it includes the Pluralization module:
I18n.backend.class.send(:include, I18n::Backend::Pluralization)
The main feature of polish is fixing the date formats. It does that by setting the date.month_names and date.day_names translations to Procs that can detect the proper form.
Polish also adds correct pluralization rules.
Translations and date formats can be overridden in config/locales/pl.yml
FAQs
Unknown package
We found that polish demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.