Forums / Setup & design / Disable multilingual url aliases on 4.0.1

Disable multilingual url aliases on 4.0.1

Author Message

Dimitar Milanov

Wednesday 08 October 2008 6:28:52 am

I am running eZ 4.0.1. The configuration for my two languages - bulgarian and english is like this:

bul siteaccess:

[RegionalSettings]
Locale=bul-BG
ContentObjectLocale=bul-BG
ShowUntranslatedObjects=disabled
SiteLanguageList[]=bul-BG
SiteLanguageList[]=eng-US
TextTranslation=enabled

eng siteaccess:

[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
ShowUntranslatedObjects=disabled
SiteLanguageList[]=eng-US
SiteLanguageList[]=bul-BG
TextTranslation=enabled

But there is a problem - the untranslated webpages on the english part of the website (most of the pages should only be in bulgarian) are shown in bulgarian. Which is normal because I also put SiteLanguageList[]=bul-BG in the eng siteaccess. And I don't want them being shown.
If I try to remove the SiteLanguageList[]=bul-BG then the multilingual aliases stop working when you are somewhere in the tree and try to change the language, because the system doesn't know that there is another language for the aliases.

So if there is no other configuration option i can use, I want to disable the multilingual url aliases so there is only one url alias in english for both my languages.

Thanks in advance

Andy Caiger

Tuesday 24 November 2009 6:55:18 pm

I also am setting up some multilingual websites (English and Chinese) and want to disable the multilingual url aliases so there is only one URL alias in English for both my languages.

I am using eZ Publish 4.2. How can I do this?

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Jérôme Vieilledent

Tuesday 23 February 2010 2:29:07 am

Hi !

I add my vote on this one :-). Is it possible to disable multilingual URLs ? Maybe with urlalias_compat ?

Andy Caiger

Sunday 07 March 2010 7:53:09 pm

Well, I don't know about disabling multilingual URL aliases, although that seems the simplest solution. The way we solved it was to add an extension providing a URL alias filter which is working well on eZ Publish 4.2 and should work on other versions too. See the thread at http://share.ez.no/forums/developer/multilingual-japanese-url-alias

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com