Skip to Content.
Sympa Menu

en - Re: [en@sympa] Language settings

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Ralph Ballier <address@concealed>
  • To: "Stefan Hornburg (Racke)" <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [en@sympa] Language settings
  • Date: Thu, 06 Feb 2025 16:53:17 +0100

Hi,

a search across the entire server did not find any other file named *welcome.tt2* with German content.

However, after further searching, I found the file *"/usr/local/share/locale/de/LC_MESSAGES/sympa.mo"*, which is compiled but outputs a wealth of German strings, including the welcome message, when using *"strings sympa.mo"*.

So, this is more complicated. In the source directory of Sympa, I found the file *"de.po"* with the corresponding strings. By the way, "racke" is listed as a contributor at the top. However, I don't know how this affects the templates.

Regards,
Ralph

Am 06.02.2025 16:06, schrieb Stefan Hornburg (Racke):
On 06/02/2025 15:57, Ralph Ballier wrote:
Hi,
the file you mentioned is located with us under "/usr/local/share/sympa/default/mail_tt2/welcome.tt2"and is in English. However, the welcome email is in German (see below). What is the connection?

You can override the default template on global, robot and list level. Search for other welcome.tt2 files.


Regards

   Racke



Best Regards,
Ralph
/usr/local/share/sympa/default/mail_tt2/welcome.tt2






Am 06.02.2025 15:19, schrieb Stefan Hornburg (Racke):
On 06/02/2025 14:25, Ralph Ballier wrote:
Hi,

in my sympa.conf, it says "lang de-DE", which is why large parts of Sympa are in German. However, that was not my question.

My colleague says that the welcome message for a new list member is sent in German, but the corresponding template is written in English. He is specifically asking how he can modify the German welcome message if he apparently only has access to the English template.

Regards,
Ralph

There is only one template in the Sympa sources:

https://github.com/sympa-community/sympa/blob/main/default/mail_tt2/welcome.tt2

This is filled with translated content for languages other than English.

Regards
   Racke

Am 06.02.2025 13:35, schrieb Stefan Hornburg (Racke):
On 06/02/2025 12:35, Ralph Ballier wrote:
Hi,

I have successfully installed Sympa.

A colleague is now working intensively with the program. He noticed that the interface is entirely in German, and the welcome message is also sent in German. However, when he looks at the templates, they are all in English. How is that possible?

How does Sympa determine the language settings? The interface and welcome message are in German, but all templates appear to be in English. Is there a way to synchronize or change this behavior?"

Best regards,

Ralph

Hello Ralph,

you can set the default language in the sympa.conf file:

lang en_US

Debian/Ubuntu doesn't support all languages out of the box. You can check that with "locale -a" and add languages with "dpkg-reconfigure locales".

Regards

     Racke



Archive powered by MHonArc 2.6.19+.

Top of Page