<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/02/2012 06:41 PM, <a class="moz-txt-link-abbreviated" href="mailto:jzigmund@redhat.com">jzigmund@redhat.com</a> wrote:
<blockquote
cite="mid:1333384890-27121-1-git-send-email-jzigmund@redhat.com"
type="cite">
<pre wrap="">This patchset contains bugfixes of BZ 804620, they aren't applied in master,
because it had not any translated dictionaries before.
</pre>
</blockquote>
NACK. The bugs described in the BZ was existent just because the
activerecord translations were not present for other langs than
English. The translation in forms is not needed. model attributes
get translated automatically by rails, taking the strings from
config/locales/activerecord/somelang.yml<br>
<br>
Same thing can be used also on other places than forms by caling eg.
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<br>
<font color="#000000"><span class="constant" style="color: rgb(0,
119, 255); "><a href="http://apidock.com/rails/Person"
style="color: rgb(35, 63, 191); text-decoration: none; ">Person</a></span><span
class="punct" style="color: rgb(68, 68, 119); font-weight: bold;
">.</span><span class="ident" style="color: rgb(0, 0, 68); "><a
href="http://apidock.com/rails/ActiveRecord/Base/human_attribute_name/class"
style="color: rgb(35, 63, 191); text-decoration: none; ">human_attribute_name</a></span><span
class="punct" style="color: rgb(68, 68, 119); font-weight: bold;
">("</span><span class="string" style="color: rgb(153, 68, 68);
background-image: initial; background-attachment: initial;
background-origin: initial; background-clip: initial;
background-color: rgb(255, 255, 238); background-position:
initial initial; background-repeat: initial initial; ">first_name</span><span
class="punct" style="color: rgb(68, 68, 119); font-weight: bold;
">")</span> </font><span class="comment" style="color: rgb(0,
0, 85); font-style: italic;"><font color="#000000"># => "First
name"<br>
<br>
(</font></span>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://apidock.com/rails/ActiveRecord/Base/human_attribute_name/class">http://apidock.com/rails/ActiveRecord/Base/human_attribute_name/class</a>)<br>
<br>
using activerecord translations clears up views a great deal and
also clears translation files.<br>
<br>
Jirka<br>
</body>
</html>