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

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

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

Post 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!
Last edited by christiaans on Thu Jun 26, 2008 10:44 am, edited 1 time in total.
alby

Re: MLE 1.3: nl instead of nl_NL?

Post 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
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: MLE 1.3: nl instead of nl_NL?

Post by christiaans »

That's so awesome, it works like charm!

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

Return to “[locked] CMSMS MLE fork”