如何使用选择的 I18n 选项进行翻译
同事,请告诉我,我该怎么做
<%= date_select :user, :birthday,
{:start_year => Time.now.year,
:end_year => 1900,
:use_short_month => false,
:order => [:day, :month, :year],
:prompt => {:month => 'Month', :day => 'Day', :year => 'Year'}},
{:class => 'userBirthday',
:id => 'userBirthday'}
%>
<%= select :user, :gender, ([["Male", "male"], ["Female", "female"]]), :class => 'bigselect' %>