[Mailman-Developers] [ mailman-Patches-594771 ] i18n support for Archiver

noreply@sourceforge.net noreply@sourceforge.net
Sun, 25 Aug 2002 22:02:21 -0700


Patches item #594771, was opened at 2002-08-13 21:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=594771&group_id=103

Category: Pipermail
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Simone Piunno (pioppo)
Assigned to: Nobody/Anonymous (nobody)
Summary: i18n support for Archiver

Initial Comment:
I'm trying to provide changes in small chunks.
This 1st patch does the following:

- 7 new template files:

        archidxentry.html   
        archidxhead.html   
        archidxfoot.html     
        archliststart.html  
        archlistend.html    
        archtoc.html
        archtocentry.html

- _() marking for translatable strings

- a few small bugfixes (e.g. unwanted spaces,
   bin/arch not calling i18n.set_language, etc.)

TODO:

- show translated tags for archive volumes (e.g.
   "2002-August", "2002q3", "Week-of-Mon-XXXX")
   I have 2 alternatives: renaming files and dirs where
   the archives are built (cleaner, but screws up 
   everything in pre-existing archives) or build a 
   tag-to-description translator (better, I think)

- find a way to produce translated datetime strings
  without using locale.setlocale and time.strftime()
  (this is discouraged in Python manual)
  Here I really need some advice.


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

Comment By: Tokio Kikuchi (tkikuchi)
Date: 2002-08-26 05:02

Message:
Logged In: YES 
user_id=67709

I have submitted a slight change to this patch. It is
uploaded in a separate patch ID.
Thank you Simone for exellent work!

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

Comment By: Simone Piunno (pioppo)
Date: 2002-08-14 18:49

Message:
Logged In: YES 
user_id=227443

And finally, this is the 3rd piece of the puzzle: dates translation.
I had to reinvent the wheel, and it's an relatively expensive
hack (from a computational efficiency point of view) but it 
works without touching pipermail.py

This patch is incremental and must be applied after #2


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

Comment By: Simone Piunno (pioppo)
Date: 2002-08-13 23:38

Message:
Logged In: YES 
user_id=227443

Here is the 2nd patch, providing the tag-to-description translator
for volume tags.  This patch is incremental and must be applied
after patch #

Now the last thing is dates.
I wouln'd want to reinvent the wheel....


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

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