i’m try tutorial calendar from railscasts episode #213.
i have add es.yml but not worked.
i try localize month names with replace word on en.yml such as
en:
date:
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
not working too
on html.erb
<h2 id="month"><%= @date.strftime("%B %Y") %></h2>
i want change this

anyone help me?
thank’s
You should use the
localizemethod of I18n (shortened asl):Then you can set different formats on your own:
http://guides.rubyonrails.org/i18n.html#adding-date-time-formats
And use it like this: