Not Zed wrote:
On Tue, 2004-09-21 at 15:12 -0400, Jeffrey Stedfast wrote:Sorry for not saying it's a gnome bugzilla bug...Gnome bugzilla jeff ... which you obviously worked out afterwards.On Tue, 2004-09-21 at 20:42 +0200, Jan KrÄÃl wrote: > Hi, > > I would like to implement this feature (bug #127530) There are two possibilities:I don't think you can. You can get a list of locales, and you can get a list of the locales and possibly languages the user wants to see, but that isn't the same as a language list. 1. use hard-coded list Than it would be better to use list of languages that have evolution localization instead of ISO 639. Is there any reason of listing a language that has no evolution localization? 2. use the list of locales The handiest way IMO is to use libicu. It can output nice description of every locale (like "English (United States)") in your system's locale (actually, it's not translated to all languages). The advantage is that it would avoid duplicating of work (it would save translating some list of languages to every other language). The obvious drawback is that it need's libicu... Well, it could be still based on locale. If you customize it for some language, the results could be saved in gconf. Evolution would check if there is attribution for this language in gconf first and if not get the atrribution from locale afterwards.Well the bounty says it should change based on the language you set. Making it user-configurable seems a much different problem, and one that hits user-interface issues otherwise it's too (I'm not sure I got your point, if you didn't mean this problem, just ignore following paragraph...) I don't think it's a big problem that the user would have to customize attribution for every language separately. How many languages such an average user speaks? ;-) I think, the best way would be to run another process (that would just change to desired locale and get the translation) and somehow communicate the results.You can't change the locale, because evolution is a mutli-threaded application and it could break things. I don't think it's that bad ;-) But if you (or somebody else at novell) dicide that this feature shouldn't get implemented, I won't do it. (what would be the motivation to write a path, which has no chance to get accepted?) But why is there a bounty for this feature, than?The ximian bug has more info, which wasn't hard to find. I think it's not usual to write one e-mail using multiple languages (in such case you would probably switch the spell-checker off). It's the problem of the spell-checker, not to check the quoted sections (that would most probably contain the other languages, if you have an e-mail in multiple languages), because there's no reason to correct someone other's typing errors. - I don't see where the 'language list' is defined or should be defined. This list makes the spell checking language list redudant, but they might not be able to match exactly. It should probably be part of some gnome-global locale (timezone) and preferred-language setting.(to the last remark) I know that I have to do it like the signatures, I don't think it's that complicated... Jan KrÄÃl _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers |
