Hi,
just playing with RT (3.6.6), and I see that it's localized to Czech (great!)
but not quite - not even the front page... The text "RT for %1" in Logo
element always shows in English - I know nothing about RT internals, but
apparently there's some problem calling just "loc" for localization, and
apparently it's widespread, because there already is a dedicated thingy (I
know nothing about HTML::Mason either :-) ) "l" used for localization, which
does localize - even in Logo (see the attached Logo.diff). A related problem
is that the text "Best Practical Solutions, LLC corporate logo" isn't
localized - the attached cs.po.diff has the Czech text. I admit I didn't
check outstanding RT bugs (nor the latest sources) - I hope I'm not wasting
time here on an already fixed bug, but well, I did have time to waste... :-)
Bye
Vasek
--
http://www.mangrove.cz/
Open Source integration
--- cs.po 2008-06-10 10:15:42.000000000 +0200
+++ /opt/rt3/lib/RT/I18N/cs.po 2008-06-10 11:24:22.000000000 +0200
@@ -975,7 +975,7 @@
#: html/Elements/Logo:47
msgid "Best Practical Solutions, LLC corporate logo"
-msgstr "Best Practical Solutions, LLC corporate logo"
+msgstr "logo Best Practical Solutions, LLC"
#: etc/initialdata:217
msgid "Blank"
--- Logo 2008-06-10 10:23:07.000000000 +0200
+++ /opt/rt3/share/html/Elements/Logo 2008-06-10 11:22:28.000000000 +0200
@@ -46,9 +46,9 @@
%#
%# END BPS TAGGED BLOCK }}}
<div id="logo">
- <a href="http://bestpractical.com"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="<%loc("Best Practical Solutions, LLC corporate logo")%>" width="177" height="33" /></a>
+ <a href="http://bestpractical.com"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="<&|/l&>Best Practical Solutions, LLC corporate logo</&>" width="177" height="33" /></a>
% if ($show_name) {
- <div class="rtname"><% loc("RT for [_1]", $RT::rtname) %></div>
+ <div class="rtname"><&|/l, $RT::rtname &>RT for [_1]</&></div>
% }
</div>
<%args>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com