Problem with globalize

Hi,

Somehow the date translation example in globalize doesn’t work for me.

Loading development environment.

Locale.set(“es-ES”)
=> #<Globalize::Locale:0x254df78 @code=“es-ES”, @language=nil,
@country=nil>

Time.now.localize("%d %B %Y")
=> “11 February 2006”

Any ideas??

Thanks!

Jeroen

Hi Jeroen,

First of all, there’s a new mailing-list for Globalize – check out:
http://globalize-rails.org/wiki/pages/MailingList. Also, feel free to
drop in on #globalize in IRC on freenode.

It looks like your language isn’t getting loaded (@language=nil). Are
you sure your globalize_languages table is populated correctly?

Josh
http://globalize-rails.org
http://shnoo.gr

Jeroen H. wrote:

Hi,

Somehow the date translation example in globalize doesn’t work for me.

Loading development environment.

Locale.set(“es-ES”)
=> #<Globalize::Locale:0x254df78 @code=“es-ES”, @language=nil,
@country=nil>

Time.now.localize("%d %B %Y")
=> “11 February 2006”

Any ideas??

Thanks!

Jeroen