Forum Moderators: phranque

Message Too Old, No Replies

Apache multilanguage

Problem with italian

         

theemaxo

8:25 am on Dec 23, 2005 (gmt 0)

10+ Year Member



Hi,
I have to write a website in two languages: english and italian. To do that I would like to use the multilanguage function of Apache.

I write a file .htaccess:

Options +MultiViews
AddLanguage en .en
AddLanguage it .it
DefaultLanguage it
LanguagePriority it en

Than I write two files: index.php.it and index.php.en
If I set the language priority of my browser to the english everything works fine, and the file index.php.en is loaded. But if I set the language preferences to the italian I'm not able to see the correct page: the browser try to download the file index.php.it.

I tryed with other languages (french and german) and it works. It seemes that the problem is only for the italian language.

Max-B
<snip>

[edited by: jdMorgan at 2:36 pm (utc) on Dec. 23, 2005]
[edit reason] No sigs or personal URLs, please. See TOS. [/edit]