Forums / Setup & design / Need help to disable translations on EZP 4.0

Need help to disable translations on EZP 4.0

Author Message

Sébastien Antoniotti

Saturday 26 April 2008 7:35:15 am

Hi !

I'm working on a new EZP 4.0 ezflow install, and I only want to use the French langage.

The problem is that although I have configured my backoffice site.ini like this :

[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=enabled
SiteLanguageList[]
SiteLanguageList[]=fre-FR
TextTranslation=disabled
 

EZP always ask me in what language I want to create new objects...

I know that is there a possibility to add an hidden field in edit templates but I'm looking for a more nice solution (by ex. totally disabling the english langage).

Thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr

Piotrek Karaś

Sunday 27 April 2008 1:25:23 am

Strange, my experience is that eZ doesn't ask that if there's only one language defined for the system...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Maxime Thomas

Sunday 27 April 2008 11:50:17 pm

Hi,

It's normal because with eZFlow, you will install a content package and those content are in another language than the one you chose.
If you want a clean install, prefer the plain site package and then install other package of eZFlow (without the content one).

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Sébastien Antoniotti

Monday 28 April 2008 1:11:29 am

Hi,

Thanks for your help !

I'm looking for a way to nicely uninstall this packages (and by the way the English language) without having to reinstall my EZP instance because I have already worked on it.

So I have uninstalled the "ezflow_democontent" package, but English is still here.

Do you think this is because the ezflow classes are in English ? Perhaps the solution is to translate all classes from English to French ?

eZ Publish Freelance
web : http://www.webaxis.fr

Maxime Thomas

Monday 28 April 2008 11:41:36 pm

Yeap,

You can't delete a language with existing content. You must "kill" all the English content or turn them in French ones.So, you can uninstall the english language.
Esaier to say that to do.

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Sébastien Antoniotti

Tuesday 29 April 2008 12:37:12 am

It's logic, I'll try this.

Many thanks ;)

eZ Publish Freelance
web : http://www.webaxis.fr

Sébastien Antoniotti

Thursday 01 May 2008 1:27:03 am

Hi !

It's OK, the problem was to translate any classes in French, then turn French in main langugage, and finally remove the English language for all classes.

After that I was able to definitively delete the English language.

Many thanks !

eZ Publish Freelance
web : http://www.webaxis.fr