Translation of custom fields

Simple question. I added some custom fields into Assets. It written in English (like others) but for users I want to display in czech. Is it possible and values for this? I tried create local/po/cs.po and write (for example):

msgid "Warranty until"
msgstr “Záruka do”

but it’s not working. Translation of other non-translated words works well. I’ve notice, that there is always comment with page and row number above text but I hope is not necessary. Thanks for help.

Hmm, looks like custom field names aren’t translated in our version of RT. Luckily a quick one line patch lets me do this. Here’s how:

Make a copy of /opt/rt4/share/html/Elements/ShowCustomFields into /opt/rt4/local/html/Elements/ShowCustomFields and then make this change:

# diff -c /opt/rt4/share/html/Elements/ShowCustomFields /opt/rt4/local/html/Elements/ShowCustomFields
*** /opt/rt4/share/html/Elements/ShowCustomFields	2017-11-22 20:13:25.544814223 +0000
--- /opt/rt4/local/html/Elements/ShowCustomFields	2018-06-05 10:37:05.217976128 +0100
***************
*** 62,68 ****
  % $m->callback( CallbackName => 'ModifyFieldClasses', CustomField => $CustomField,
  %               Object => $Object, Classes => \@classes, Grouping => $Grouping );
    <tr class="<% join(' ', @classes) %>" id="CF-<%$CustomField->id%>-ShowRow">
!     <td class="label"><% $CustomField->Name %>:</td>
      <td class="value<% $count ? '' : ' no-value' %>">
  % unless ( $count ) {
  <&|/l&>(no value)</&>
--- 62,68 ----
  % $m->callback( CallbackName => 'ModifyFieldClasses', CustomField => $CustomField,
  %               Object => $Object, Classes => \@classes, Grouping => $Grouping );
    <tr class="<% join(' ', @classes) %>" id="CF-<%$CustomField->id%>-ShowRow">
!     <td class="label"><% loc($CustomField->Name) | $CustomField->Name %>:</td>
      <td class="value<% $count ? '' : ' no-value' %>">
  % unless ( $count ) {
  <&|/l&>(no value)</&>

Then delete your Mason cache, give your web server a kick and you should find that you can rewrite custom field labels using local .po files.

Hello,
I’m facing the same problem. I’ve played with the approache mentioned and it works pretty fine. There seem to be a few more files to change.
My question: What is the reason for custom fields not to be translated in the official release? Is there anything which will be messed up?

Thanks for any input.
.kai