[Rt-commit] r16499 - rt/branches/3.999-DANGEROUS/share/html/Admin/Global/StatusSchemas

ruz at bestpractical.com ruz at bestpractical.com
Wed Oct 22 09:25:03 EDT 2008


Author: ruz
Date: Wed Oct 22 09:25:02 2008
New Revision: 16499

Added:
   rt/branches/3.999-DANGEROUS/share/html/Admin/Global/StatusSchemas/Localization.html

Log:
* add Localiztion guidlines page

Added: rt/branches/3.999-DANGEROUS/share/html/Admin/Global/StatusSchemas/Localization.html
==============================================================================
--- (empty file)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Global/StatusSchemas/Localization.html	Wed Oct 22 09:25:02 2008
@@ -0,0 +1,25 @@
+<&| /Admin/Elements/Header, title => $title &>
+
+<& Elements/Tabs,
+    title       => $title,
+    current_tab => 'Admin/Global/StatusSchemas/Localization.html',
+&>
+
+<&|/l&>Status values stored in the DB are limitted to ASCII. To localize values you have to change po-files. Copy text block below, insert it into a local po file for language you want to localize into and translate. If you don't have local po files then you can borrow a header from RT's core po files. Don't change general po files as those are over written on every update.</&>
+
+<pre>
+% foreach my $str ( RT::StatusSchema->for_localization ) {
+msgid "<% $str |n %>"
+msgstr ""
+
+% }
+</pre>
+
+</&>
+
+<%INIT>
+my $title = _("Localization of statuses");
+
+</%INIT>
+<%ARGS>
+</%ARGS>


More information about the Rt-commit mailing list