[rt-users] Custom Field Internationalization

Emmanuel Lacour elacour at easter-eggs.com
Tue Mar 10 13:53:07 EDT 2009


On Tue, Mar 10, 2009 at 11:14:09AM -0600, Marc DeTrano wrote:
> I would like to have the names of Custom Fields display in the interface 
> in the preferred language of the user.  I have checked the docs, and 
> while there seems to be a lot of internationalization support throughout 
> the system, I did not see a simple way to make this happen and just 
> wondered if I am missing anything.
> 

I guess you will need to:

- create a .po file with translations for every wanted CustomFields
  names
- modify html source in share/html/Elements/ShowCustomFields to localize
  the name:

-    <td class="label"><% $CustomField->Name %>:</td>
+    <td class="label"><% loc($CustomField->Name) %>:</td>




More information about the rt-users mailing list