Issue 1793837
Created on 2007-09-13 11:08 by anonymous, last changed 2007-09-14 18:19 by btami.
msg2474 |
Author: [hidden] (anonymous) |
Date: 2007-09-13 11:08 |
|
Using latest release, when creating a new issue, the dropdowns 'Priority' or 'Status' include English keywords, though they appear to be translated well (eg hu.po, line 2799).
It seems the source code itself that uses the strings is not ready to use the translated strings (namely, templates/classic/initial_data.py).
(I wonder though how these strings got into the roundup.pot then...)
These keywords should appear in local language, too, it is very ugly or maybe even non-usable for non-English speakers when a localised interface shows non-localised keywords in the dropdowns.
Thanks
kilo
aka
Gabor Kmetyko
kg_kilo@freemail.hu
|
msg2475 |
Author: [hidden] (jpend) |
Date: 2007-09-13 23:20 |
|
I would guess that if you add
i18n:translate=""
to line 245 of html/page.html in your tracker instance it will translate the text. I have yet to figure out how to get roundup on my ubuntu box to use non-English locales, so I can't test it myself.
|
msg2476 |
Author: [hidden] (btami) |
Date: 2007-09-14 11:23 |
|
Changing the line 45 of html/page.html doesn't help.
Anyhow issue.search.html uses the search_selected_translated macro, and in the search issue page the dropdowns are translated. The pb is that issue.index.html and issue.item.html seems to not use this macro.
You can test it with changing fe. firefox preferred language in settings/advanced/language.
|
msg2477 |
Author: [hidden] (jpend) |
Date: 2007-09-14 15:51 |
|
Thanks for the firefox help. I believe the problem is that the menu method on LinkHTMLProperty isn't using gettext (although the one on MultilinkHTMProperty does). Thanks for reporting this. I'm surprised you're the first person to complain :).
I'll check in a fix shortly CVS. If you want to make the change locally you can change line 1857 of roundup/cgi/templating.py
from:
lab = cgi.escape(lab)
to:
lab = cgi.escape(self._(lab))
I tried setting my Firefox to Hungarian and once I made that change those menus showed up properly translated. I did notice that several of the buttons ("Submit" and "Attach New File", I think) seemed to still appear in English.
|
msg2478 |
Author: [hidden] (jpend) |
Date: 2007-09-14 15:55 |
|
Checked in new roundup/cgi/templating.py to CVS.
|
msg2479 |
Author: [hidden] (btami) |
Date: 2007-09-14 18:19 |
|
The hungarian translation isn't complete.
Kilo will send you some new translation soon.
Thanks for the fix, i will try it tomorrow.
|
|
Date |
User |
Action |
Args |
2007-09-13 11:08:58 | anonymous | create | |
|