Page 1 of 1

Multilang (MLE) with pretty Url's doesnt switch language

Posted: Fri Dec 21, 2007 7:45 pm
by Tony_db
Hello ppl.

I installed the multilang version with 1.2.2 and it realy works great, my compliments to the developer!

But when i switch the website to Pretty Url's the website doesnt show the default language
(like set in de config.language.php file) and the swithcing between the languages doesnt work anymore.
So it only shows 1 language at al time. ( the flags are on screen, but the Url's of the flags dont work).

I used the .htaccess given with the MLE.

Can someone give me u clue ?

Re: Multilang (MLE) with pretty Url's doesnt switch language

Posted: Fri Dec 21, 2007 9:34 pm
by alby
Tony_db wrote: I installed the multilang version with 1.2.2 and it realy works great, my compliments to the developer!

But when i switch the website to Pretty Url's the website doesnt show the default language
(like set in de config.language.php file) and the swithcing between the languages doesnt work anymore.
So it only shows 1 language at al time. ( the flags are on screen, but the Url's of the flags dont work).

I used the .htaccess given with the MLE.
This htaccess is an example of rewrite. You must adjust for your condition.
I don't have mod_rewrite but this htaccess I think that it works for these conditions:
- install in root domain (no subfolder)
- $config['internal_pretty_urls'] = false;
- $config['page_extension'] = '';
- $config['use_hierarchy'] = false;

I suppose that you have uncomment last row and comment row before

Alby

Re: Multilang (MLE) with pretty Url's doesnt switch language

Posted: Sat Dec 22, 2007 4:34 pm
by Tony_db
alby wrote:
Tony_db wrote: I installed the multilang version with 1.2.2 and it realy works great, my compliments to the developer!

But when i switch the website to Pretty Url's the website doesnt show the default language
(like set in de config.language.php file) and the swithcing between the languages doesnt work anymore.
So it only shows 1 language at al time. ( the flags are on screen, but the Url's of the flags dont work).

I used the .htaccess given with the MLE.
This htaccess is an example of rewrite. You must adjust for your condition.
I don't have mod_rewrite but this htaccess I think that it works for these conditions:
- install in root domain (no subfolder)
- $config['internal_pretty_urls'] = false;
- $config['page_extension'] = '';
- $config['use_hierarchy'] = false;

I suppose that you have uncomment last row and comment row before

Alby
Tnx for the response, i will try to edit htaccess a litle bit more.

I will let you know if that will work

Re: Multilang (MLE) with pretty Url's doesnt switch language

Posted: Sat Dec 22, 2007 4:42 pm
by ZYV
assume_mod_rewrite = true?