GNOME Bugzilla – Bug 228772
Allow to specify a default language for a given identity
Last modified: 2018-10-08 17:06:26 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.
Consider this an additional request. A way to change language besides editing my .desktop file would be welcome.
This is related to bug #210577 and bug #561799
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