[Mailman-Developers] [ mailman-Bugs-553385 ] Translation strings

noreply@sourceforge.net noreply@sourceforge.net
Fri, 16 Aug 2002 17:29:24 -0700


Bugs item #553385, was opened at 2002-05-07 14:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=553385&group_id=103

Category: Web/CGI
Group: 2.1 beta
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Daniel Buchmann (avalon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Translation strings

Initial Comment:
#: Mailman/Gui/ContentFilter.py:38
Minor typo; the entry reads: "Policies concerning
concerning the content [...]"

#: Mailman/Commands/cmd_set.py:186
msgid "    %(status)s (%(how)s on %(date)s)"
I'm not sure I fully understand what this is.
status = delivery status? (disabled/enabled?)
how = how it was disabled?
date = the date it happened?
How is the date written here? In english? According to
the user's language setting? According to the locale?
I believe this information is needed for many
languages, to be able to translate this entry in the
correct way...

#: Mailman/Commands/cmd_set.py
None of the commands should be translated, right?
Should the various "set options" be translated? (e.g.
'ack', 'delivery', 'digest', etc.)

If yes, then the output of the "set help" command would
give the users a translated explanation to english
commands. When they do "set show", the various options
will also be translated, but english commands must be
sent to the <listname>-request address, right? It is
also currently not possible to translate the 'digest'
option (there is no catalog entry for it). And why does
the 'delivery' option have its own entries, when all
the others have entries like this: "ack %(onoff)s" ?

If no, then several cmd_set.py entries could probably
be removed from the catalog, or they must be left blank
so they default to their english value.


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-16 20:29

Message:
Logged In: YES 
user_id=12800

Fixed the typo in your patch, thanks.

As for your questions:

- we really have no architecture to do localization of dates
unfortunately.  The bit in cmd_set.py is trying to tell a
user how and when they got disabled, e.g. something like
"disabled (due to bounces on ....somedate...)".  We'll have
to live with US-centric formats here for now.

- correct, none of the commands should be translated. 
Eventually we may want to localize cmd_set.py and other
email commands, but that's not well supported now. 

- thanks for mentioning the bug in the marking of the digest
options.  I'll fix that too.

- digest has its own entries because there are three
choices.  does it make a difference for how you would add
translations?

- i'm not sure what catalog entries should be removed.  The
current mapping between commands and methods is pretty
static ('digest' command -> set_digest()).

Thanks

----------------------------------------------------------------------

Comment By: Simone Piunno (pioppo)
Date: 2002-05-10 15:54

Message:
Logged In: YES 
user_id=227443




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=553385&group_id=103