Bug#283342: squidguard: SquidGuard doesn't handle locallization properly
Le Vendredi 25 Novembre 2005 06:05, vous avez écrit : tag 283342 moreinfo unreproducible retitle 283342 squid: problem with localization reassign 283342 squid thanks Raphael HALIMI [EMAIL PROTECTED] writes: There is a slight problem with SquidGuard's handling of localization. This issuedoesn't appear in Squid itself. If the languages selected in the webe browser are, for example : [fr_FR] [fr] [en] SquidGuard checks only the first locale asked, can't find any template for [fr_FR], and sends the [en] template. Problem is, SquidGuard does have a [fr] translation, and it's in the browser languages list, so I think SquidGuard should either check other asked languages, or simply replace them by a template it does have (cutting the locale before the underscore : [fr_FR] -- [fr]). As Stefan Fritsch already noted, squidGuard doesn't see any language information; this must have been a problem with squid. Can you still reproduce it? Yes. With Firefox, if I set the languages [fr], [fr_FR], [en] in that exact order, I see the messages in french. But if I set the order to [fr_FR], [en], [fr], then the messages appear in english. With Konqueror I have the messages in french, but I can't find what the browser's language settings are (I think it's global to KDE, and in the control center the language settings are simply defined by a country's name, France here) Regards, -- Raph
Bug#283342: squidguard: SquidGuard doesn't handle locallization properly
Raph [EMAIL PROTECTED] writes: Le Vendredi 25 Novembre 2005 06:05, vous avez écrit : [...] Yes. With Firefox, if I set the languages [fr], [fr_FR], [en] in that exact order, I see the messages in french. But if I set the order to [fr_FR], [en], [fr], then the messages appear in english. This is the intended behavior, since you specified [en] before [fr] (the document probably doesn't specify its language as [fr_FR]). What happens if the order is [fr_FR], [fr], [en]? Thanks, Matej
Bug#283342: squidguard: SquidGuard doesn't handle locallization properly
Le Vendredi 25 Novembre 2005 15:27, vous avez écrit : Raph [EMAIL PROTECTED] writes: Le Vendredi 25 Novembre 2005 06:05, vous avez écrit : [...] Yes. With Firefox, if I set the languages [fr], [fr_FR], [en] in that exact order, I see the messages in french. But if I set the order to [fr_FR], [en], [fr], then the messages appear in english. This is the intended behavior, since you specified [en] before [fr] (the document probably doesn't specify its language as [fr_FR]). Perfectly logical I made a mistake while typing, I actually meant [fr_FR], [fr], [en]. Sorry :/ What happens if the order is [fr_FR], [fr], [en]? Well, you have the answer... Best regards, and sorry again -- Raph
Bug#283342: squidguard: SquidGuard doesn't handle locallization properly
tag 283342 moreinfo unreproducible retitle 283342 squid: problem with localization reassign 283342 squid thanks Raphael HALIMI [EMAIL PROTECTED] writes: There is a slight problem with SquidGuard's handling of localization. This issuedoesn't appear in Squid itself. If the languages selected in the webe browser are, for example : [fr_FR] [fr] [en] SquidGuard checks only the first locale asked, can't find any template for [fr_FR], and sends the [en] template. Problem is, SquidGuard does have a [fr] translation, and it's in the browser languages list, so I think SquidGuard should either check other asked languages, or simply replace them by a template it does have (cutting the locale before the underscore : [fr_FR] -- [fr]). As Stefan Fritsch already noted, squidGuard doesn't see any language information; this must have been a problem with squid. Can you still reproduce it? Thanks, Matej -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#283342: squidguard: SquidGuard doesn't handle locallization properly
Hi, I have just been looking at the squidguard package... If the languages selected in the webe browser are, for example : [fr_FR] [fr] [en] SquidGuard checks only the first locale asked, can't find any template for [fr_FR], and sends the [en] template. Problem is, SquidGuard does have a [fr] translation, and it's in the browser languages list, so I think SquidGuard should either check other asked languages, or simply replace them by a template it does have (cutting the locale before the underscore : [fr_FR] -- [fr]). Can you elaborate? Which template do you mean? As far as I can see, squidguard never sees the Language setting in the browser. So I would assume this to be a squid problem. Can you check wether this problem is still there with the version of squid in Sarge? Cheers, Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]