small medium large xlarge

 

Pt-J-2

I’ve had issues with the language box in Safari 5, I can’t select Espanol. the code for that is in: store.html.erg

<%= select_tag 'locale', options_for_select(LANGUAGES, I18n.locale), :onchange => 'this.form.submit()' %>
Anyone knows the answer?
On mine (Rails 2.3.8) I had to add .to_s to I18n.locale as it returns a symbol, not a string.

<%= select_tag 'locale', options_for_select(LANGUAGES, I18n.locale.to_s), :onchange => 'this.form.submit()' %>
Page History
  • V7: Pierre Sugar [almost 4 years ago]
  • V6: Pierre Sugar [almost 4 years ago]
  • V5: Pierre Sugar [almost 4 years ago]
  • V4: Pierre Sugar [almost 4 years ago]
  • V3: Pierre Sugar [almost 4 years ago]
  • V2: Boris Maletic [over 5 years ago]
  • V1: Andrew de Andrade [about 6 years ago]