Bug 4371 - does not use locale in template
Summary: does not use locale in template
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.17.5
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2020-08-10 15:00 UTC by cm.10.juebo
Modified: 2020-08-10 17:45 UTC (History)
0 users

See Also:


Attachments
your mail (4.95 KB, application/x-7z-compressed)
2020-08-10 17:00 UTC, cm.10.juebo
no flags Details
the template (196 bytes, text/plain)
2020-08-10 17:11 UTC, cm.10.juebo
no flags Details

Description cm.10.juebo 2020-08-10 15:00:48 UTC
Hello

My locale is de_DE.UTF-8 (all, except LC_COLLATE) and I want to use the template for "reply to"

Am %d schrieb %f:
But %d does not work. It always delivers the English abbreviation of day- and month.

I tried %D as alternative:
Am %D{%A, den %d. %B %Y %H:%M %z (%Z)} schrieb %f:

This _sometimes_ delivers the German names of day and month but most times not. (I did not figure out when). It never gives back the name of time-zone (%Z)
Comment 1 Paul 2020-08-10 15:18:20 UTC
Please attach example messages where %D works and where %D does not work.
Comment 2 cm.10.juebo 2020-08-10 16:15:47 UTC
Hallo noreply@thewildbeast.co.uk
Sehr geehrter Herr noreply@thewildbeast.co.uk


Am Montag, den 10. August 2020 13:18 +0000 (+0000) schrieb "noreply@thewildbeast.co.uk" <cm.juebo.0aac6cbe33.noreply#thewildbeast.co.uk@ob.0sg.net>:

On Mon, 10 Aug 2020 13:18:20 +0000
"noreply@thewildbeast.co.uk" <cm.juebo.0aac6cbe33.noreply#thewildbeast.co.uk@ob.0sg.net> wrote:


"Montag" is correct German word for Monday, so %D did work 

=======
Am Wednesday, den 17. June 2020 10:45 +0200 (+0200) schrieb ".." <.. @arcor.de>:

On Wed, 17 Jun 2020 10:45:14 +0200
".." <..@arcor.de> wrote:

did not work

======
Am Tuesday, den 16. June 2020 12:33 +0000 (+0000) schrieb ".." <..>:

On Tue, 16 Jun 2020 12:33:16 +0000
".." <..> wrote:

did not work

===
Hallo noreply@thewildbeast.co.uk
Sehr geehrter Herr noreply@thewildbeast.co.uk


Am Monday, den 10. August 2020 13:18 +0000 (+0000) schrieb "noreply@thewildbeast.co.uk" <cm.juebo.0aac6cbe33.noreply#thewildbeast.co.uk@ob.0sg.net>:

On Mon, 10 Aug 2020 13:18:20 +0000
"noreply@thewildbeast.co.uk" <cm.juebo.0aac6cbe33.noreply#thewildbeast.co.uk@ob.0sg.net> wrote:

This did not. The message is the same as in the the first one (the working one)
Comment 3 Paul 2020-08-10 16:23:54 UTC
I understood your description. I asked for the source messages in order to examine the messages for possible differences, and to try to repduce the error.

Is that the same account used in your examples shown in comment #2?
Comment 4 cm.10.juebo 2020-08-10 17:00:03 UTC
Created attachment 2074 [details]
your mail

This is the mail I replied to and were %D worked in the first example and did not work in the last example

(I deleted my real email-address)
Comment 5 Paul 2020-08-10 17:10:34 UTC
Is that the same account used in your examples shown in comment #2?
Comment 6 cm.10.juebo 2020-08-10 17:11:18 UTC
Created attachment 2075 [details]
the template
Comment 7 cm.10.juebo 2020-08-10 17:17:08 UTC
yes, this was exactly the same mail
Comment 8 Paul 2020-08-10 17:19:24 UTC
I asked about the account that you used to reply to the mail -- "was it the same account?" not "what it the same mail?"
Comment 9 cm.10.juebo 2020-08-10 17:45:06 UTC
Yes, it was the same account.

I did not notice that the account would have some influence to this.

Note You need to log in before you can comment on or make changes to this bug.