Month names inflection in Rails I18n
i had a similar problem with strange month names in german translation.I had to configure the month names in my locale.yml, now it works as expected:
de: defaults: &defaults month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember] formats: default: "%d. %B %Y" short: "%d.%m.%Y" date: <<: *defaults time: <<: *defaults
Since nobody answered my question, I found one solution.
I just created another translation, for example alt_pl.yml
and I added my custom month names, then:
>> I18n.l Time.now, :format => "%e %Q", :locale => :alt_pl=> "15 stycznia"