eng-GB classes

Author Message

tom stovall

Saturday 26 December 2009 8:08:29 am

I don't know if anyone besides me find it annoying that in a default ezpub install all the classes are eng-GB so every time you edit a content object you have to create a new language version in eng-US. Here's what I did to easily change all the default class installs to ENG-US.

  1. Do a standard ezpublish install of 4.2 with the ezflow extensions but no content.
  2. find the directory var/storage/packages/eZ-Systems/ezflow-classes. In this directory are the XML definitions of the classes.
  3. in that directory, do a search and replace for "eng-GB' replacing it with "eng-US".
  4. in the ezpublish back end, go to setup->packages
  5. uninstall the ezflow-classes package and reinstall.
  6. all your classes default language, should now be eng-US.

Nicolas Pastorino

Tuesday 26 January 2010 3:03:11 am

Thanks Tom for sharing this tip. I guess the handiest way would be to be able to choose the default content class language when installing them.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.