[OpenStreetMap] #4224: German word for January

OpenStreetMap trac at openstreetmap.org
Tue Feb 14 14:33:56 GMT 2012


#4224: German word for January
------------------------------------------------------+---------------------
 Reporter:  Oli-Wan                                   |       Owner:  rails-dev@…                
     Type:  defect                                    |      Status:  new                        
 Priority:  trivial                                   |   Milestone:                             
Component:  website                                   |     Version:                             
 Keywords:  language translation de calendar January  |  
------------------------------------------------------+---------------------

Comment(by TomH):

 I'm definitely seeing the same effect as you, which is odd, as it seems to
 work from the console:

 irb(main):010:0> I18n.l(DateTime.now - 1.month, :format => :long, :locale
 => "de")
 => "Samstag, 14. Januar 2012, 14:32 Uhr"
 irb(main):011:0> I18n.l(DateTime.now - 1.month, :format => :long, :locale
 => "de-AT")
 => "Samstag, 14. Jänner 2012, 14:32 Uhr"

 Suspect it must be choosing the wrong locale when matching user language
 preferences against the available locales.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4224#comment:2>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list