Default Language | Disable Browser Detection

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Default Language | Disable Browser Detection

Post by rdb3 » Thu Feb 04, 2010 4:53 pm

The language stuff is swell but we don't need it right now. :wink:

So, what is the best method to default to English only regardless of the visitor's browser setting?

All of our articles are in English and we don't want a language selector on the index page.

Thanks in advance for your help!

Thorsten
Posts: 14720
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Default Language | Disable Browser Detection

Post by Thorsten » Thu Feb 04, 2010 7:58 pm

Hi,

select english as default language and disable the automatic language detection. That should work.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: Default Language | Disable Browser Detection

Post by rdb3 » Thu Feb 04, 2010 11:46 pm

Thanks for the reply.

However, I am not clear on how to "disable the automatic language detection".

Which setting in which file needs to be modified?

I see no such setting in Admin.

rdb3
Posts: 21
Joined: Fri Jan 29, 2010 7:03 pm

Re: Default Language | Disable Browser Detection

Post by rdb3 » Fri Feb 05, 2010 5:55 am

Found it (I think) :wink:

"Enable automatic content negotiation"

Thorsten
Posts: 14720
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Default Language | Disable Browser Detection

Post by Thorsten » Fri Feb 05, 2010 8:04 am

Hi,

correct. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

swguy
Posts: 16
Joined: Sun Dec 09, 2018 2:38 am
Contact:

Re: Default Language | Disable Browser Detection

Post by swguy » Tue Dec 18, 2018 5:20 pm

This has been renamed "Enable automatic language detection," and it's in the main configuration menu.

stefan24
Posts: 15
Joined: Sun Feb 08, 2009 7:33 pm

Re: Default Language | Disable Browser Detection

Post by stefan24 » Sun Dec 23, 2018 3:11 pm

I wanted to stay with german, but when I delete the english language file, the frontend displays only a empty, white page.
I "fixed" it with disabling "Enable automatic language detection", set the default language to "german" and deleted the drop-down menu in the index.tpl.

Thorsten
Posts: 14720
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Default Language | Disable Browser Detection

Post by Thorsten » Sun Dec 23, 2018 3:18 pm

Hi,

please do not delete the English translation file as it works as fallback for all languages.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply