Page 1 of 1

[SOLVED] MLE 1.3: nl instead of nl_NL? (Thanks Alby!)

Posted: Thu Jun 26, 2008 9:07 am
by christiaans
Hey there,

I just installed the MLE version of CMSms, and I love it. It works like a charm so far.

However, I was wondering if it is possible to show "en" instead of "en_US" in the pretty url. This because I feel that that would look much better, and easier to access and use (just add /en/ after the domain and people are redirected to their language).

So again, the only change I want to make is in the pretty url: "xx_XX" to just "xx", is that possible, and if so, how?

Any help is very much appreciated, as always!

Re: MLE 1.3: nl instead of nl_NL?

Posted: Thu Jun 26, 2008 9:57 am
by alby
christiaans wrote: However, I was wondering if it is possible to show "en" instead of "en_US" in the pretty url. This because I feel that that would look much better, and easier to access and use (just add /en/ after the domain and people are redirected to their language).
Have you look to config_lang.alby.labelĀ  ;)
BUT if you change config_lang.php you MUST clean your cookie browser for your site or you have an 404 NOT FOUND

Alby

Re: MLE 1.3: nl instead of nl_NL?

Posted: Thu Jun 26, 2008 10:43 am
by christiaans
That's so awesome, it works like charm!

Thanks a bunch (and sorry for being so incredibly naive!)