The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailman - Multi Languages ?

Discussion in 'E-mail Discussions' started by snoky, Oct 21, 2003.

  1. snoky

    snoky Registered

    Oct 18, 2003
    Likes Received:
    Trophy Points:
    Hi there,

    another small question. Mailman should have "Multi" languages, but only has czech / english support. can anyone help me to setup german / other languages? thank you!

    by the way, i have the newest version coming along with the cpanel, installed so far.

    Thank you so much,
  2. mickeymouse

    mickeymouse Well-Known Member

    Sep 16, 2003
    Likes Received:
    Trophy Points:
    Dear snoky,

    Mailman 2.1 supports german language. To get your list support the language is fairly easy. You first need to run the \"newlang\" script at the command line, giving it the names of the list to add language support to.

    Let\'s say for example, you\'re adding Spanish support. You should do the following:

    % cd $prefix (the Mailman installation directory)
    % bin/newlang -l mylist es

    Where mylist is yourlist and es stands for Spanish
    This will add Spanish support to mylist, provided that following is true (all relative to the $prefix directory):

    1. There must be a file messages/es/LC_MESSAGES/ file which contains the catalog of translations for translatable strings in the Mailman source code.

    2. There must be a directory templates/es which contains all the global default translated template files for Spanish.

    3. There is an entry in the Mailman/ file for the \'es\' language in the constant LC_DESCRIPTIONS. If not, do not change! Instead add the following in your file (again, the example here is for Spanish):

    add_language(\'es\', \'Spanish (Spain)\', \'iso-8859-1\')

    The add_language() function takes three arguments (as strings):
    the language code, the language description, and the language charset.

    If the language you want to use has not been previously translated, or you don\'t know where to find the language pack for your language, read the section below or contact the Mailman
    internationalization mailing list


Share This Page