[Cubicweb] CubicWeb Internationalization

Sylvain Thénault sylvain.thenault at logilab.fr
Mon Mar 22 14:49:57 CET 2010

On 20 mars 23:10, Carlos Balderas wrote:
> Hello list!
> I am trying to test some new spanish translations I made for cubicweb, but I
> get this error.
> I have two questions, first one is, why do I get this error when running
> command: cubicweb-ctl i18ncube translationtest?
> Here are the error lines -->
> carlos at debian:~/src/fcl/cubes/translationtest/i18n$ cubicweb-ctl i18ncube
> translationtest
> Updating i18n catalogs for cube translationtest
> -----------------------------------------------
> -> extract schema messages
> -> extract TAL messages
> -> extract Javascript messages
> xgettext --no-location --omit-header -k_ -L java --from-code=utf-8 -o
> /tmp/tmpzH9r52/js.pot ./data/cubes.translationtest.js
> Exception: status = 1
> -> error while updating catalogs for cube
> /home/carlos/src/fcl/cubes/translationtest

this is usually because it didn't found anything to translate
in your cube

> Second question is about this reference to an old "not existing (now)"
> folder of cubicweb I named fcubicweb3.6 couple weeks ago.
> About this, I used to have PYTHONPATH referencing to this path:
> /home/carlos/src/*fcubicweb3.**6/*, but I changed it and I even deleted the
> folder but I am getting this reference and it is shown when some error
> happends in cubicweb code.
> Not sure if this is just some old data registry left behind or something
> like that?

Sorry I don't understand what's your problem... Notice you can see bad
file names with remaining unrecompiled .pyc files.

Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list