November Happy Hour will be moved to Thursday December 5th.

Globalisation - Not showing language code on default language

Vote:
 

I'm building a multi-language site which will have English and Welsh versions of various pages. English will be the default language and I would rather not have all URLs updated to */en-GB/* so by default not show the language code. I'm happy that the Welsh pages would be prefixed with /cy/. Is this possible, I'm wondering if I can use rewrites or something.

Cheers

 

 

#52798
Aug 15, 2011 17:35
Vote:
 

Check out EPiServerFramework.config. There you can assign a address a default language. Set it to "en-GB" and it should not display the postfix.

#52801
Aug 15, 2011 21:07
Vote:
 

You can also set this in admin mode (it simply changes EPiServerFramework.config for you):

Admin mode > Config > Site Information > [Click your site ID] > Edit button > Set the culture

#52803
Aug 15, 2011 22:15
Vote:
 

Cheers guys this looks exactly what I need.

#52809
Aug 16, 2011 10:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.