[Mailman-Developers] Ah-HAH!

Juan Carlos Rey Anaya jcrey@uma.es
Mon, 19 Feb 2001 10:46:11 +0100


Ron Jarrell wrote:
>
> (where self is the current MailList).  GetAvailableLanguages brute forc=
e just walks the
> directory and looks for subdirs, by calling Utils.GetDirectories(self._=
full_path).  If there's
> a subdir, it's a language.  (Which means don't be creating subdirs unde=
r lists; mailman will
> think you've added a new language.  I'm thinking the template dir shoul=
d be listname/templates/language
> so as to avoid confusion...)
> =

I have written that code supposing there is a hirarchy under templates
like
templates/en
         /es
         /it
like we described so long ago in mailman developers
http://mail.python.org/pipermail/mailman-developers/1999-May/001084.html

Cheers
-- =

                          ___
                         / F \
                        [[[]]]]
                        ( O O )
   #----------------0000--(_)--0000---------------#
   |    Juan Carlos Rey Anaya (jcrey@uma.es)      |
   |      Servicio Central de inform=E1tica         |
   |       Universidad de M=E1laga - Espa=F1a         |
   #----------------------------------------------#
   #      reynini@22x28.org   pa los globeros :-) #
   #----------------------------------------------#