Its ok, we should be using that one anyway, but there's too much stuff to move just yet.Sorry for not saying it's a gnome bugzilla bug...Gnome bugzilla jeff ... which you obviously worked out afterwards. 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. I say just go for a set-list of languages. I guess you're going to have to have some sort of ui where you choose which ones are relevent to you (so you don't have all of them listed all the time in the immediate ui), and that same ui could let you add your own customisations. I guess it would be possible to use the same mechanism just to customise it to be multivalued for any language too (e.g. 'friends' vs 'work'), but that might be verging on scope-creep (especially since then you'd want to have the value change depending on who you're replying to, or at least based on account, etc). I don't really like that idea either.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. If you put the string into an xml file, then the xml i18n tool will expand all the translations into the file and they can be iterated through in code. That might be the easiest way to integrate with the translators and provide customisation. If you're going to save your own copy you're going to need the some way to save them anyway and the formats could be similar. I'm not sure how everything on the bounty list was come up with.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. But I guess if it can be done nicely and work unobtrusively it should be fine, and we'll certainly accept the patch. To me it seems a bit bloaty, but it could be useful for some people. |