[Mailman-i18n] error on tr language
Tue Nov 5 20:48:33 2002
i have tried this before also, what do you think i am missing ?
to get this error?
Traceback (most recent call last):
File "/usr/local/digitiygroups/scripts/driver", line 63, in run_main
from Mailman.Logging.StampedLogger import StampedLogger
File "/usr/local/digitiygroups/Mailman/Logging/StampedLogger.py", line 20,
from Mailman.Logging.Logger import Logger
File "/usr/local/digitiygroups/Mailman/Logging/Logger.py", line 24, in ?
from Mailman import mm_cfg
File "/usr/local/digitiygroups/Mailman/mm_cfg.py", line 52, in ?
add_language('tr', _('Turkish'), 'iso-8859-9')
NameError: name '_' is not defined
what have i done?
1-copied the eng directory and renamed to tr
2- add_language('tr', _('Turkish'), 'iso-8859-9')
in mm_cfg.py nodirectly to defaults.py
----- Original Message -----
From: "Martin v. Löwis" <email@example.com>
To: "shawn Erdil" <firstname.lastname@example.org>
Cc: "Ben Gertzfield" <email@example.com>; <firstname.lastname@example.org>
Sent: Tuesday, November 05, 2002 9:42 PM
Subject: Re: progress on 8859-9 charset?
> "shawn Erdil" <email@example.com> writes:
> > ********************
> > If you want to use iso-8859-9 natively on a page, you need to create
> > proper Turkish templates.
> > **********************
> > do you mean, that the pipermail page, should have the
> > <META http-equiv="Content-Type" content="text/html;
> > in the header.
> > is this what you mean by templates?
> Not at all. You need to create a directory templates/tr, copying all the
> from templates/en. Then you need to add a line
> add_language('tr', _('Turkish'), 'iso-8859-9')
> to Mailman/Defaults.py. Then you need to select Turkish as the default
> in your mailing list.
> > B-
> > did we get any progress, can i provide any help, in helping
> > guys diagnose ,some internalization problems ?
> The steps above should solve most of your problems. It should allow:
> - to use iso-8859-9 in all Web pages, and
> - to use Turkish characters in headers and footers.
> > in my second subscription -the messages i get as a non -digest
> > subscriber - "FROM I18N " were also with no message headers.
> > my first subscription as a DIGEST customer, gets the message
> > headers and footers with no problem.
> > **any progress on the message headers, in DIGEST versus NON DIGEST
> > customers?**
> Yes. With Turkish templates, the headers should work fine.
> > are you , making some changes for the in your next version?could
> > expect, a progress?
> Not for the next version, no.
More information about the Mailman-i18n