Sha256: a66ef774e8534d26bdfd6cd2abc27493d23eeaa6ec199f847bd5a8447c3e65da

Contents?: true

Size: 796 Bytes

Versions: 1

Compression:

Stored size: 796 Bytes

Contents

<h1>Ruby-Locale and Ruby on Rails 2.2 sample</h1>
<p><a href ="http://locale.rubyforge.org/svn/trunk/locale_rails/sample">[source code]</a></p>

<h2>The values from Rails</h2>
<table border="1" cellspacing="0" cellpadding="2">
  <tr><th>Variables</th><th>Values</th></tr>
  <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.cgi.accept_language %></td></tr>
  <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.cgi.accept_charset %></td></tr>
  <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr>
  <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr>
  <tr><td>cookies[:lang]</td><td> <%= cookies[:lang] %></td></tr>
</table>

<p style="color:red">This page is for uz_UZ only. See app/views/samples/index_uz_UZ.html.erb.</p>
<p><%= link_to "[BACK]", samples_path %></p>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locale_rails-0.1.0 sample/app/views/samples/index_uz_UZ.html.erb