[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kmail - phrases - bugs?



Thursday, 16 February 2006 02:48, Robert Gomułka wrote:
> As you can see, there are two potential problems:
> 1. Date is always in english, where it should be in configured
> locales in phrases.

Since this is a KDE application, it probably takes the date format from 
the KDE Control Centre rather than from your command-line locale 
configuration (arguably, the Control Centre localisation configuration 
should just be a frontend to locale, but that's a whole different 
discussion).

(You seem to suggest your KDE is set to Polish, though, so I am a bit 
surprised that the day and month names appear to be in English.)

> 2. The rest of the line is always in polish, whereas I would like to
> use english version for english e-mails.

As I understand it, that's because KMail can only be configured to 
handle one set of phrases at a time, so whichever language you have 
selected for editing in the phrases dialogue when you apply the 
settings will be the one chosen for all messages. Ideally, the phrase 
set should be linked to the choice of dictionary in the composing 
window, and this not being the case is a problem for us multilinguals.

> The question is - do I do anything wrong? Or should I report the bug
> instantly?

I would classify this as a wishlist bug and clarify the wishes as:

1) Selecting dictionaries in the composer window should affect the set 
   of phrases used.

2) The %D variable (and other localisation-affected variables) should be
   expanded according to the appropriate format for the language in
   whose phrases it appears, regardless of the selected KDE or
   command-line locale.

Now, there are one or two problems with these suggestions.

Firstly, what happens when someone starts editing a message with one 
dictionary selected and then changes the dictionary? This should be 
possible to overcome using regular expressions.

Secondly, language alone is not always sufficient to determine the 
appropriate date format. I am not sure what to suggest to overcome this 
obstacle. Perhaps someone with more experience in localisation issues 
could weigh in on the matter?

-- 
Alex Nordstrom
http://lx.n3.net/
Please do not CC me in followups; I am subscribed to debian-kde.

Attachment: pgpUfJElpnSUY.pgp
Description: PGP signature


Reply to: