Hi, * Javier Fernández-Sanguino Peña <[EMAIL PROTECTED]> [2006-12-22 14:43]: > On Wed, Nov 29, 2006 at 07:33:20PM +0100, Nico Golde wrote: > > Adam Cécile reported #400719[0] to the fetchmail package. [...] > > Fetchmail currently does, we are not calling it with > > LC_MESSAGES=C or something similar. > > But are you sourcing the system's locale or are you depending on the locale > of the user *starting* fetchmail?
No > > I can't find anything about this in the policy but to me it > > doesnt make sense to use a locale if you dont want it for > > some programs. > > Why would you *not* want a locale? If the program has l10n support and it > provides messages (even in a non-interactive way) there's chances some users > will benefit from the translated messages. Yes thats also my opinion about it. > > Since it would be also possible to adjust the settings with > > LC_ALL=C in /etc/default/fetchmail I just closed the bug but > > reopened it now cause I want to hear some other opinions. > > What do you think what is the best way here? > > I suggest you introduce a variable in /etc/default/fetchmail named > "USE_SYSTEM_LOCALE" and do that (source the system locale if it exists) if > set to 'Y'. That's better than forcing users to introduce the system locale > in every /etc/default/XXX file and it also makes it easier to switch a > system's locale (no need to touch in many different /etc/default/ files, just > the 'locale' itself). Set the default to whatever you feel comfortable with. Thats a good idea even if the parsing in init would be far more complex. The uncommented LC_ALL=C in fetchmail.default is just a workaround but could be better. Thanks! Nico -- Nico Golde - http://www.ngolde.de JAB: [EMAIL PROTECTED] - GPG: 0x73647CFF Forget about that mouse with 3/4/5 buttons, gimme a keyboard with 103/104/105 keys!
pgpwNs6ElqEH8.pgp
Description: PGP signature