Subject: The mailing list for listmasters using Sympa
List archive
- From: Ralph Ballier <address@concealed>
- To: "C. Bernard" <address@concealed>
- Cc: address@concealed
- Subject: Re: [en@sympa] Language settings
- Date: Thu, 06 Feb 2025 22:02:46 +0100
Hi,
the Sympa interface is in German. That is not the problem. The welcome messages and other messages are also in German. That is not the problem either.
The problem is: how can I modify these messages?
Regards,
Ralph
Am 06.02.2025 17:03, schrieb "C. Bernard":
Hallo
what lang do you have in your conf?
[root@beastly ~]# find /usr/local/etc/sympa -name '?????.conf' -exec grep 'lang' {} \; -ls
lang de
2086782 8 -rw-r----- 1 sympa sympa 1067 Nov 7 2023 /usr/local/etc/sympa/DOMAINXYZ.ch/robot.conf
lang de
#lang en-US
2086704 8 -rw-r----- 1 sympa sympa 3334 Dec 19 2023 /usr/local/etc/sympa/sympa.conf
lang de
2086776 8 -rw-r----- 1 sympa sympa 1081 Oct 31 2023 /usr/local/etc/sympa/DOMAIN123.ch/robot.conf
lang de
2087295 8 -rw-r----- 1 sympa sympa 1104 Oct 31 2023 /usr/local/etc/sympa/DOMAIN0815.ch/robot.conf
I have "de" -> deutsch..
If you have no "lang" setting in the sympa.conf then it takes it from the domain (=robot in that dir with same name) ...and there is list level somewhere too...
Cheer
cmb
On 2025-02-06 16:53, Ralph Ballier wrote:
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,Hello Ralph,
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
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
-
[en@sympa] Language settings,
Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Stefan Hornburg (Racke), 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Stefan Hornburg (Racke), 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Stefan Hornburg (Racke), 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
- Re: [en@sympa] Language settings, C. Bernard, 02/06/2025
- Re: [en@sympa] Language settings, Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Stefan Hornburg (Racke), 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Stefan Hornburg (Racke), 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
-
Re: [en@sympa] Language settings,
Stefan Hornburg (Racke), 02/06/2025
-
Re: [en@sympa] Language settings,
John Levine, 02/06/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
- Re: [en@sympa] Language settings, John R Levine, 02/06/2025
-
Re: [en@sympa] Language settings,
Jörg Heise, 02/07/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/07/2025
- Re: [en@sympa] Language settings, Ralph Ballier, 02/07/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/07/2025
- Re: [en@sympa] Language settings, Ralph Ballier, 02/08/2025
-
Re: [en@sympa] Language settings,
Ralph Ballier, 02/06/2025
Archive powered by MHonArc 2.6.19+.