Text-language is always Norwegian

Author Message

Tristan Koen

Friday 21 November 2003 5:55:58 am

I use Mozilla as my browser of choice. If I look at the page properties (on Mozilla) for *ANY* ez website (irrespective of language), I see
Miscellaneous Properties->text-language: Norwegian.
Looking at the HTTP headers on my site, I have
Content-language: eng-GB which is correct.

I have no idea where the text-language: Norwegian property is derived from. Anyone out there got any idea?

Hans Melis

Sunday 23 November 2003 2:33:06 pm

Hi,

I believe Mozilla fetches this information from the HTML source, and not from any HTTP headers sent. The pagelayout.tpl of ezp contains the following line:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" lang="no">

I bet Mozilla will show English when you change the "no" to "en".

--
Hans

Hans
http://blog.hansmelis.be

Tristan Koen

Sunday 23 November 2003 10:56:23 pm

Aaaaarrrrggghhhh!!!!
I looked *everywhere* except there.
Thanks Hans. You're a genius.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.