LINUX.ORG.RU

История изменений

Исправление Apple-ch, (текущая версия) :

Примерно так:

<% initial_locale = I18n.locale %>
<% I18n.locale = :ru %>
<%= render 'form' %>
<% I18n.locale = :en %>
<%= render 'form' %>
<% I18n.locale = initial_locale %>

Исправление Apple-ch, :

Примерно так:

<% initial_locale = I18n.locale %>
<% I18n.locale = :ru %>
<%= render 'form' %>
<% I18n.locale = :en %>
<%= render 'form' %>
<% I18n.locale = initial_locate %>

Исходная версия Apple-ch, :

Примерно так:

<% inital_locale = I18n.locale %>
<% I18n.locale = :ru %>
<%= render 'form' %>
<% I18n.locale = :en %>
<%= render 'form' %>
<% I18n.locale = initial_locate %>