[Cubicweb] CubicWeb Internationalization

Carlos Balderas carlos.balderas at gmail.com
Sun Mar 21 06:10:57 CET 2010


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
-> create cube-specific catalog
xgettext --no-location --omit-header -k_ -o /tmp/tmpzH9r52/generated.pot
"./views.py" "./setup.py" "./entities.py" "./__pkginfo__.py" "./schema.py"
"./__init__.py" "./migration/postcreate.py" "./migration/precreate.py"
"/tmp/tmpzH9r52/tali18n.py"
-> merging 1 .pot files:
msgcat -o /tmp/tmpzH9r52/cube.pot "/tmp/tmpzH9r52/schema.pot"
-> merging main pot file with existing translations:
-> language en
msgmerge -N -s -o en.ponew en.po /tmp/tmpzH9r52/cube.pot
msgmerge: error while opening "/tmp/tmpzH9r52/cube.pot" for reading: No such
file or directory
Traceback (most recent call last):
  File "/home/carlos/src/*fcubicweb3.**6/*cubicweb/devtools/devctl.py", line
344, in update_cubes_catalogs
  File "/home/carlos/src/*fcubicweb3.**6*/cubicweb/devtools/devctl.py", line
416, in update_cube_catalogs
  File "/home/carlos/src/*fcubicweb3.**6*/cubicweb/i18n.py", line 54, in
execute
Exception: status = 1
-> error while updating catalogs for cube
/home/carlos/src/fcl/cubes/translationtest

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?

CubicWeb 3.7.1
changeset:   4963:6b0832bbd1da
tag:         tip
user:        Sylvain Thénault <sylvain.thenault at logilab.fr>
date:        Fri Mar 19 15:27:45 2010 +0100
summary:     i18n update

Thank you for your help.

Best Regards
Carlos Balderas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100320/11d8caa7/attachment-0185.html>


More information about the Cubicweb mailing list