Re: [Radiant] Names of months in Archive Extension

2007-10-25 Thread Artur Baldyga
Mathieu Arnold wrote: +-le 23.10.2007 13:33:01 +0200, Artur Baldyga a dit : | Hi, | | I want to have listed archive with months and years in polish language. | By default this is english language. If I use command: | r:date format=%B %Y / I got for example June 2007. Instead of | June I

Re: [Radiant] Names of months in Archive Extension

2007-10-25 Thread Mathieu Arnold
+-le 25.10.2007 15:43:15 +0200, Artur Baldyga a dit : | Mathieu Arnold wrote: | +-le 23.10.2007 13:33:01 +0200, Artur Baldyga a dit : | | Hi, | | | | I want to have listed archive with months and years in polish language. | | By default this is english language. If I use command: | | r:date

Re: [Radiant] Names of months in Archive Extension

2007-10-25 Thread Artur Baldyga
My ruby version: ruby 1.8.5 (2006-12-04 patchlevel 2). It's to old ? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

Re: [Radiant] Names of months in Archive Extension

2007-10-24 Thread Erik van Oosten
Artur, I am using a Rails plugin called Dutchify. Its code may help you develop a Polify, or someting like that. Dutchify is quite dirty as it overrides the Ruby date and time classes. Works well though. Don't forget to restart Radiant after you install this plugin ;) Regards, Erik.

[Radiant] Names of months in Archive Extension

2007-10-23 Thread Artur Baldyga
Hi, I want to have listed archive with months and years in polish language. By default this is english language. If I use command: r:date format=%B %Y / I got for example June 2007. Instead of June I want to have polish equivalent. What I have to do?? Regards, Artur -- Posted via

Re: [Radiant] Names of months in Archive Extension

2007-10-23 Thread John W. Long
Artur Baldyga wrote: I want to have listed archive with months and years in polish language. By default this is english language. If I use command: r:date format=%B %Y / I got for example June 2007. Instead of June I want to have polish equivalent. What I have to do?? I'd suggest that you

Re: [Radiant] Names of months in Archive Extension

2007-10-23 Thread Sean Cribbs
Also consider that this is a limitation of Ruby and not necessarily Radiant. You may need to find a library that overrides the Date, Time, and DateTime classes to localize date names. Sean John W. Long wrote: Artur Baldyga wrote: I want to have listed archive with months and years in

Re: [Radiant] Names of months in Archive Extension

2007-10-23 Thread Mathieu Arnold
+-le 23.10.2007 13:33:01 +0200, Artur Baldyga a dit : | Hi, | | I want to have listed archive with months and years in polish language. | By default this is english language. If I use command: | r:date format=%B %Y / I got for example June 2007. Instead of | June I want to have polish

Re: [Radiant] Names of months in Archive Extension

2007-10-23 Thread Aitor Garay-Romero
You can try to overwrite Ruby's month constants with backdoor: r:ruby Date.MONTHNAMES = [nil] + %w(January February March April May June July August September October November December) Date.ABBR_MONTHNAMES = [nil] + %w(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)