On Thu, 2006-01-19 at 11:22 +0530, Parthasarathi Susarla wrote: > On Wed, 2006-01-18 at 23:25 +0100, Stefan Schmitt wrote: > > Hi, > > > > recently I defined my own private locale for English messages and ISO > > date format. Other applications seem to work fine, but Evolution does > > not. As an example I chose the "Birthday" field in the Contact Editor. > > So I had a look at the source and was impressed by the creativity of > > some developer. > > [snip] > > > Obviously dgettext (via the macro _(string) ) is used to "translate" a > > date format string. This construct is used at very many other places in > > the source code, too. This is not the right way to do it since dgettext > > depends on LC_MESSAGES and this should only affect texts, not the date > > format. > > > > > The date format should be based on the d_fmt property of the current > > locale. But I could not find any reference to nl_langinfo in the whole > > source tree (2.2.3). Is there any reason behind that or is it plain > > ignorance? If it's the latter I'd volunteer to work out some patches. > > > 'abused' alright. I guess this thing was overlooked upon. So its not > purely ignorance. Great that you have offered to work on this. Its > really welcome. :) > > You could ping on IRC or on the list for any help you might need.
I think that the GNOME clock uses this trick too. I'd be interested in seeing the correct way to do it in C. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ Evolution-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-hackers
