ezlupdate

About

eZ publish empty translation creation. ezlupdate is the general way to create .ts ( located in share/translations or extension/ezexample/translations ) files for the system (eZ publish)

Installation

Please read the README installation instructions.

Before building the program

The linguist is not provided with eZ publish 3, as this is distributed in the Qt library available from Trolltech.

The following assumes that you are building under unix. If you have a commercial licence of Qt for Windows and/or Mac OS X, you can build it in a similar way. If you don't have such a licence, you can get binaries from eZ systems.

First, make sure that you have the Qt library installed. If you use a package system such as RPM, make sure that you also have the qt-devel package. You need version 4.0 of the Qt library.

If you build ezlupdate against the Qt/X11 library, it will require X11 to run, even though it is a console program. If you have installed eZ publish on a server without X11 it is recommended that you build ezlupdate against Qt/embedded.

Dependencies

eZ publish 3 requires two programs to create and maintain translations, 'ezlupdate' and 'linguist'.

These programs are based on the same tools from the Qt toolkit by Trolltech (www.trolltech.com). The unix version of this toolkit is released under the GPL. eZ systems will provide binaries for Windows and Mac OS X.

The linguist is unmodified from the Qt original, so you also can get this from other sources, such as RPMs. ezlupdate is modified to make it understand eZ publish files.

Installing QT Linguist

...

Installing on Apple OSX Lion using Homebrew

Since Apple has broken compatibility with PowerPC compiled programs on Lion, you will not be able to use the binary provided for previous OS X versions : https://auth.ez.no/download/translations/ezlupdate_and_linguist

You can now very simply build (from sources) and install the ezlupdate program using Homebrew on Apple OSX computers. 

Just install Homebrew and type `brew install ezlupdate` in your favorite terminal.

Notes :

  • The installer will download qt as a dependency
  • ezlupdate binary will be placed into /usr/local/bin/ by default (which should be in your PATH)
  • The Formula uses sources from eZ Publish Community 2011.10
  • This has been tested on Mac OS X Lion 10.7.2 so far (please report feedback on your OS X version)
  • Related blog post about this wonderful accomplishment in greater detail

Installing on Apple OSX Lion using macports

If you don't have qt4-mac, install it with macports

Then, go inside support/ezlupdate-qt4.5/ezlupdate and run

qmake ezlupdate.pro
make

The binary will be compiled and placed into bin/macosx/ so you might want to copy it in a location that is in your PATH environment variable.

Interesting and related blog post : http://share.ez.no/blogs/jerome-vieilledent/getting-ezlupdate-for-macosx

Installing using debs

...

Installing using rpms

...

Installing using source

...

External reference