Roundup Tracker - Issues

Issue 1462491

classification
translate roundupdb.py and mailgw.py
Type: Severity: normal
Components: User Interface Versions:
process
Status: closed accepted
:
: richard : arno-, nerijus, richard
Priority: normal : patch

Created on 2006-04-01 00:40 by arno-, last changed 2006-07-02 14:09 by nerijus.

Files
File name Uploaded Description Edit Remove
maili18n.patch arno-, 2006-04-01 00:42 i18n of roundupdb.py and mailgw.py
Messages
msg2825 Author: [hidden] (arno-) Date: 2006-04-01 00:40
This is a patch that makes roundupdb.py and mailgw.py
translatable. This is useful if you have a tracker only
used by non english speaking people and you want to set
tracker_language to that language. That way, nosy
messages and also error messages in mailgw.py would be
in the native language of users.
.pot and .po files can then be updated with "make
template" and usual tools of gettext.

If patch is accepted, I can also provide a french
translation of those new strings.
msg2826 Author: [hidden] (arno-) Date: 2006-04-01 00:42
Logged In: YES 
user_id=1463222

looks like I forgot to join the file
msg2827 Author: [hidden] (nerijus) Date: 2006-06-29 16:12
Logged In: YES 
user_id=3416

I am using roundup 1.1.2 which has your patch applied
according to changelog. I've put en.po and en.mo files in
locale subdirectory of my tracker (en.po is just lt.po with
all strings translated and renamed to en.po). The web
interface is correctly translated, but I still get English
message in an email message when I add a comment:
Nerijus, SATi admin <xxx@xxx.lt> added the comment:

test
msg2828 Author: [hidden] (nerijus) Date: 2006-07-02 14:09
Logged In: YES 
user_id=3416

Sorry for false alarm, everything is OK. LANG should be set
and /usr/[local/]share/locale/$LANG/LC_MESSAGES/roundup.mo
should be updated. In case of Fedora it overrides
system-wide LANG for apache, so HTTPD_LANG should be set in
/etc/sysconfig/httpd.
History
Date User Action Args
2006-04-01 00:40:14arno-create