Ruby-Locale and Ruby on Rails 2.2 sample

[source code]

The values from Rails

VariablesValues
HTTP_ACCEPT_LANGUAGE <%= request.cgi.accept_language %>
HTTP_ACCEPT_CHARSET <%= request.cgi.accept_charset %>
QUERY_STRING <%= request.cgi.query_string %>
params[:lang]<%= params[:lang] %>
cookies[:lang] <%= cookies[:lang] %>

This page is for uz_UZ only. See app/views/samples/index_uz_UZ.html.erb.

<%= link_to "[BACK]", samples_path %>