Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: sander on March 07, 2002, 07:33:51 PM

Title: squid error messages in local languages
Post by: sander on March 07, 2002, 07:33:51 PM
I saw that squid sometimes responds if there is some kind of an error.

I'd like if that error would not be in english, but in the language what is specified in the users browser.

I saw from one place that squid errors are directed to english files, how can i add auto selection or estonian (as moste peaple are estonians behind the server)

please help

sander
Title: Re: squid error messages in local languages
Post by: Filippo Carletti on March 11, 2002, 05:09:24 PM
Simply change the link /etc/squid/errors to the directory of your language.
Title: Re: squid error messages in local languages
Post by: sander on March 12, 2002, 12:03:59 AM
I am not experienced in linux and can't figure out how to change the link.

but is auto selection available? by user rowser config it selects the right squid language?

help on both questions needed

thanks

sander
Title: Re: squid error messages in local languages
Post by: Filippo Carletti on March 12, 2002, 12:11:18 PM
ln -sf /usr/lib/squid/errors/English /etc/squid/errors
Substitute English with your language.
AFAIK, language is not negotiable
Title: Re: squid error messages in local languages
Post by: sander on March 12, 2002, 02:03:36 PM
Well..
now that i' ve tried that it did something different - It made a link to Estonian language ( whitch i want) under the english directory rather than updating the link to point directly to estonian.

I typed: ln -sf /usr/lib/squid/errors/Estonian /etc/squid/errors

what could be wrong?

thanks
sander
Title: Re: squid error messages in local languages
Post by: Filippo Carletti on March 12, 2002, 02:33:57 PM
Oops. Sorry.
rm /etc/squid/errors
ln -sf /usr/lib/squid/errors/Estonian /etc/squid/errors

You could also remove the bad link in the Enlgish dir.