A couple of questions concerning the languages

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
phpmad
Posts: 3
Joined: Wed Sep 29, 2004 10:06 pm

A couple of questions concerning the languages

Post by phpmad »

Greetings all !

Ok I have a FAQ working in five languages but I have a couple of questions.
- How can I call a page in a specific language without use something like the form index?lang=en ?
- How can I have the news in the central frame in a specific language too ?

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

Re: A couple of questions concerning the languages

Post by Thorsten »

Hi,
phpmad wrote:- How can I call a page in a specific language without use something like the form index?lang=en ?
if you do not use the lang variable, phpMyFAQ detects the browser language and uses it.
phpmad wrote:- How can I have the news in the central frame in a specific language too ?
Maybe in version 1.5 or later.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmad
Posts: 3
Joined: Wed Sep 29, 2004 10:06 pm

Post by phpmad »

Hi,

Thanks for your answer.

I would like anyway to create an external menu regarding the languages. Which variable I must put in the link to redirect on the right page, even if it's not the explorer language ?
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you have to add the country code to the lang variable to get on the right page. The GET variable has an higher priority than the browser language detection.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply