|
From: Malcolm T. <ma...@co...> - 2002-08-26 00:59:32
|
On Sun, Aug 04, 2002 at 12:00:26PM -0500, Dan Mueth wrote: > On 4 Aug 2002, Mikael Hallendal wrote: > > If I do a pretty ugly hack and remove everything after _ in the locale > > when calling scrollkeeper-get-content-list I get a translated TOC-file. > > IMHO you should be able to call it with locale sv_SE or sv_SE.ISO8859-1 > > and still get the correct TOC-file. > > Where does this sort of locale fallback usually happen? It looks like > glibc does not do it, but for Gtk+ applications, GDK does it. It would > make sense, then, to move it from Yelp into Scrollkeeper. This problem has been sitting around for a while now. Attached is a patch to move some locale fallback logic into scrollkeeper. Sourceforge appears to be down at the moment, so I'm posting here in case people want to test and will drop it into Sourceforge if/when it comes back up. Cheers, Malcolm |