Bug 188384 - Unable to select language for attributions in message
Summary: Unable to select language for attributions in message
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: templates (show other bugs)
Version: 1.11.1
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-29 08:56 UTC by Andrey Borzenkov
Modified: 2009-10-11 22:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Borzenkov 2009-03-29 08:56:55 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Mandriva RPMs

4.2.1/Qt4.5.

I have Russian locale set as default. As result all attributions during reply/forward are using Russian language. I use large number of English speaking lists and communities; Russian attributions are not useful for them; and often (due to character set mangling from list software) they become completely unreadable.

I do not see *any* configuration option to change it. I do not want to change overall KDE language to English but as it stands now it seems to be the only way.

I intentionally file this as a bug because it is regression against 3.5 where it was possible.
Comment 1 Jaime Torres 2009-03-29 10:30:46 UTC
If the attributions are the texts inserted automagically in the reply/forward, they come from the templates.
A template can use any combination of all the commands, so you can create them as you like.
Please look at bug 188385 to know more about them.
Comment 2 Andrey Borzenkov 2009-03-29 11:00:46 UTC
Yes, that is what I mean (I do not know proper English term for them).

OK so more about problem. Template contains:

%REM="Default reply template"%-
On %ODATE %OTIMELONG you wrote:

I get:

On 29 марта 2009 12:25:01 Jaime Torres wrote:

Please notice that keyword are expanded depending on locale. That is exactly the problem - I obviously *do* want to use keywords (how otherwise am I supposed to exatrct e.g. message date) - but I do want to be able to specify language for expansion.

On a side note, why do I get "Jaime Torres" instead of "you"? It almost looks like it is using "Reply to all" template all the times.
Comment 3 Jaime Torres 2009-03-29 11:08:29 UTC
In the development version (kde 4.2.67), there are also the following templates macros that addressess your problem:

%ODATEEN  (date in C locale, english)
%OTIMELONGEN (time in C locale, english)

Look also for all the templates (including folder ones) to see which one it is using, you should get a "you" instead of me.
Comment 4 Martin Koller 2009-10-11 22:54:19 UTC
I'm closing this because:
issue 1 can be solved with %ODATEEN etc. (at least in KDE 4.3), and issue 2 is a duplicate of 160215 (it uses reply-to-all template when a Reply-To header is given)