After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 228772 - Allow to specify a default language for a given identity
Allow to specify a default language for a given identity
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other other
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
Depends on: 210577
Blocks:
 
 
Reported: 2002-08-09 16:00 UTC by Dominique Hazaël-Massieux
Modified: 2018-10-08 17:06 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Dominique Hazaël-Massieux 2002-08-09 16:00:34 UTC
Description of Problem:
(somewhat related to bug 210577). There should be a way to specify that a
given identity has a given default language. 
For instance, I do most of my work in English, but most of my personal
mails are in French. Since my locales are set to French, my "reply
sentence" is in French, while it would be better to have it in English for
the professionnal identity.
This default language should be the one used for spellchecking as well.
Comment 1 Paul Stejskal 2018-01-10 17:27:49 UTC
Consider this an additional request. A way to change language besides editing my .desktop file would be welcome.
Comment 2 Milan Crha 2018-09-24 09:26:23 UTC
This is related to bug #210577 and bug #561799
Comment 3 Milan Crha 2018-10-08 17:06:26 UTC
I added it to mail account settings, Composing Messages tab, and into Edit->Preferences->Composer Preferences->General tab. It's kind of magic to figure out what languages are supported by the system and which evolution string catalogues are installed in the system and to transform the catalogue language name into something what setlocale() supports, but I guess I managed to make it work a reasonably good way. it covers both the attribution language and the spell check language, which is added/removed is needed after the From account change in the message composer.

I'm aware of bug #210577 comment #7, but I'm not calling an external application to get the strings, because it just doesn't worth it (and it's not only a single string on a single place, there are multiple strings involved and it's also about strftime calls).

Created commit [1] in eds master (3.31.2+)
Created commit [2] in evo master (3.31.2+)

[1] https://gitlab.gnome.org/GNOME/evolution-data-server/commit/df4bdbcb5
[2] https://gitlab.gnome.org/GNOME/evolution/commit/65f7ba867d