Summary: | kmail2: Folders are not translated in main view (regression) | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Johannes Obermayr <johannesobermayr> |
Component: | UI | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, lueck, m.wege, montel |
Priority: | NOR | ||
Version: | 2.0.89 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim/abfadd427c29808eca7fa12ecdd54f8ee8690125 | Version Fixed In: | 4.9 |
Sentry Crash Report: | |||
Attachments: |
available 'sent-mail' messages for translation
Current folders |
Description
Johannes Obermayr
2010-12-05 18:04:08 UTC
It's translatable. If I remember it stored as translated. Created attachment 54264 [details]
available 'sent-mail' messages for translation
From where should kmail take the translation for e.g. 'sent-mail'?
The screenshot shows only two .po[t] (kmail-migrator.po[t] and kalarm.po[t]) which contain the message 'sent-mail' in current trunk.
I do not assume the mentioned files are loaded by kmail at runtime.
But I assume there must be a i18n thinggy implemented in kmail ...
*** Bug 261806 has been marked as a duplicate of this bug. *** I would add the Junk-Folder to that list. I know Kmail is not actively using it, but such folders are being created by other programms and it is possible to select the Junk-folder as spam-folder in Kmail. Then it should be localised too. At it should be not only the local folders (as in the above example), but also the folders from an IMAP-resource. There are now three files which contain 'sent-mail': - kdepim/kmail-migrator.po[t] - kdepim/kalarm.po[t] - kdepimlibs/libakonadi-kmime.po[t] I assume 'kmail-migrator' produce localized folders if you have a translated 'kmail-migrator.po' installed. But what happens if you have not installed a translated 'kmail-migrator.po' when migrating? - Yes. It will stay for ever in English ... Or what happens when you change language? Actually when I started kmail-migrator it was partially localised. Also the migration did not go through to the end. May be also the reason why I have "Kmail Folders" instead of "Local Folders" (which BTW I really would like to change, so if someone has a hint). Still valid ? Created attachment 72372 [details]
Current folders
Seems it is still valid ...
Do you tested it with a new account ? Because if when you created your kmail and there is not translate code it will not translate after. We store this translated string in server. So if we change after it will not updated. (In reply to comment #10) > Do you tested it with a new account ? How can I do it containing emails from current folders? > Because if when you created your kmail and there is not translate code it > will not translate after. Comment 6 ... > We store this translated string in server. Comment 1 ... > So if we change after it will not updated. Comment 6 ... The proper solution is to store it internally with english strings and localize it via GUI. @Albert: I'm right? Johannes: Yes, that is one of the possible fixes, but on the other hand will make stuff look different in kmail than in "other client you use to access the imap server". So another solution is "knowing" which folders in the server are the "special ones" (i hope we can have another handle other than name) and "retranslating" them on every start of kmail Git commit 921c7ed00f647fd4c813ebc59742873fbfa8c697 by Montel Laurent. Committed on 11/07/2012 at 20:41. Pushed by mlaurent into branch 'KDE/4.9'. Fix Bug 258926 - kmail2: Folders are not translated in main view (regression (need kdepim/mailcommon too) FIXED-IN: 4.9 M +1 -1 CMakeLists.txt M +49 -2 akonadi/kmime/specialmailcollections.cpp M +3 -0 akonadi/kmime/specialmailcollections.h http://commits.kde.org/kdepimlibs/921c7ed00f647fd4c813ebc59742873fbfa8c697 Git commit abfadd427c29808eca7fa12ecdd54f8ee8690125 by Montel Laurent. Committed on 11/07/2012 at 20:42. Pushed by mlaurent into branch 'KDE/4.9'. Fix Bug 258926 - kmail2: Folders are not translated in main view FIXED-IN: 4.9 M +1 -1 CMakeLists.txt M +6 -0 mailcommon/mailkernel.cpp http://commits.kde.org/kdepim/abfadd427c29808eca7fa12ecdd54f8ee8690125 |