guest HTTP_ACCEPT_LANGUAGE code in session.php

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
sectionw
Registered User
Posts: 24
Joined: Mon Feb 07, 2005 7:49 pm

Re: guest HTTP_ACCEPT_LANGUAGE code in session.php

Post by sectionw » Tue Jun 19, 2007 2:26 am

Yeah enabling the code works only part of the way, the buttons with prosilver do not show in the correct language in a dynamic mode, and looking at the code, hard to figure out so far where it goes the board default before this point.
Will keep and try to figure out where the lang for the image buttons get inittialized.

sectionw
Registered User
Posts: 24
Joined: Mon Feb 07, 2005 7:49 pm

Re: guest HTTP_ACCEPT_LANGUAGE code in session.php

Post by sectionw » Tue Jun 19, 2007 2:48 am

Ok fixed by placing it in cache where it load the board default_lang from the db.

vagodeoz
Registered User
Posts: 1
Joined: Thu Oct 04, 2007 9:07 pm

Re: guest HTTP_ACCEPT_LANGUAGE code in session.php

Post by vagodeoz » Thu Oct 04, 2007 9:34 pm

Noob question: How do you put that famous http_accept_language header in your forum?

sectionw
Registered User
Posts: 24
Joined: Mon Feb 07, 2005 7:49 pm

Re: guest HTTP_ACCEPT_LANGUAGE code in session.php

Post by sectionw » Tue Jun 17, 2008 2:25 am

vagodeoz wrote:Noob question: How do you put that famous http_accept_language header in your forum?
Sorry forgot to check the posts, you this from php $_SERVER var check php.net

Post Reply