Muchas gracias Juan....es eso , actualize a la version 2.3.8 y se soluciono...
gracias por tomarte el tiempo para contestar Saludos Pablo Rodriguez El 30 de octubre de 2010 16:12, Juan Schwindt <[email protected]> escribió: > Es un problema de versiones. Fijate en http://github.com/svenfuchs/i18nque en > el README explica lo siguiente: > > Rails version warning > > On Rails < 2.3.6 the method I18n.localize will fail with > MissingInterpolationArgument (issue > 20<http://github.com/svenfuchs/i18n/issues/issue/20>). > Upgrade to Rails 2.3.6 or higher (2.3.8 preferably) is recommended. > > Este es el ticket donde dice que quedó arreglado: > http://github.com/svenfuchs/i18n/issues/issue/20 > > Saludos, > > Juan Schwindt. > > > 2010/10/30 Pablo Rodriguez <[email protected]> > > Tengo el siguiente archivo para la configuración de internacionalizacion >> (I18n) >> >> http://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/es-AR.yml >> >> En mi archvio config/initializers/locale.rb tengo >> >> # in config/initializers/locale.rb >> # tell the I18n library where to find your translations >> I18n.load_path += Dir[Rails.root.join('config', 'locales', '*.{rb,yml}')] >> # set default locale to something other than :en >> I18n.default_locale = "es-AR" >> >> time: >> formats: >> default: "%e/%m/%Y, %H:%M hs" >> short: "%e/%m, %H:%M hs" >> long: "%A, %e de %B de %Y, %H:%M hs" >> >> Tengo un problema cada vez que quiero localizar una fecha de algun >> registro, el campo created_at >> >> en la vista cuando pongo >> >> <%= l workorder.created_at %> >> >> me davuelve "" string vacio >> si cambio el format a >> time: >> formats: >> default: "%m/%Y, %H:%M hs" >> short: "%e/%m, %H:%M hs" >> long: "%A, %e de %B de %Y, %H:%M hs" >> >> me devuelve 10/2010, 01:57 hs, lo cual es correcto , pero necesito agregar >> el dia a esa fecha >> Si lo cambio a >> >> time: >> formats: >> default: "%d/%m/%Y, %H:%M hs" >> short: "%e/%m, %H:%M hs" >> long: "%A, %e de %B de %Y, %H:%M hs" >> Me da un error >> >> missing interpolation argument in "%{count}/%m/%Y, %H:%M hs" ({:object=>Tue, >> 05 Oct 2010 01:57:57 ART -03:00} given) >> >> Es como que no entiende el format %d, pero con %e tampoco me funcioan el >> formateo >> Cual es el correcto formate que tengo que poner en el archvio es-AR.yml >> para que me pueda formatear correctamente el campo created_at de active >> record >> >> Saludos y muchas gracias >> Pablo Rodriguez >> >> >> El 22 de octubre de 2010 13:33, Lucas Florio <[email protected]>escribió: >> >>> Buenas, >>> >>> la semana que viene es la RubyConf Uruguay. Se realiza el 29 y 30 de >>> (viernes y sábado) en Montevideo. Calculo que a esta altura del partido esto >>> lo sabían todos ya... (http://rubyconfuruguay.org/en). >>> >>> Lo que yo quería saber era quienes estaban yendo, como para saber cuántos >>> somos... Quizás allí pinte hacer algo en el tiempo libre, fuera de la conf. >>> >>> Yo voy. Alguno más? >>> >>> Saludos >>> >>> *Lucas Florio* | Developer >>> LinkedIn <http://www.linkedin.com/in/lucasefe> | >>> Blog<http://www.lucasefe.com.ar/>| >>> Music <http://www.justoalcaer.com.ar/> >>> >>> >>> _______________________________________________ >>> Ruby mailing list >>> [email protected] >>> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar >>> >>> >> >> _______________________________________________ >> Ruby mailing list >> [email protected] >> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar >> >> > > _______________________________________________ > Ruby mailing list > [email protected] > http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar > >
_______________________________________________ Ruby mailing list [email protected] http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
