eZ Community » Forums » General » Text-language is always Norwegian
expandshrink

Text-language is always Norwegian

Text-language is always Norwegian

Friday 21 November 2003 2:55:58 pm - 2 replies

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?

Sunday 23 November 2003 11: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

Monday 24 November 2003 7:56:23 am

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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from