[Cubicweb] Internationalization

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Jun 3 08:44:42 CEST 2009

On 02 juin 20:06, Carlos Balderas wrote:
> hello everyone, question about Internationalization:

Hi Carlos,
> I am using cubicweb version: 3.1.4 in installed mode.
> I'm having some trouble translating my cube to spanish.
> reading this link :
> http://www.cubicweb.org/doc/en/B1090-internationalization.en.html?highlight=i18n
> (For now, all the changes I need to do are in my application, so I am not
> using i18nlibupdate command)
> When running "cubicweb-ctl i18nupdate <mycube>"  command
> I get the following error: "
> *File "/usr/lib/python2.5/site-**packages/logilab/common/**modutils.py",
> line 196, in modpath_from_file
> ImportError: Unable to find module for
> /home/carlos/lib/cubes/<**mycube>/entities.py
> in /usr/share/cubicweb, *",

I think this is the main problem. Some possibilities :

* /home/carlos/lib isn't in your python path
* no __init__.py file in the "cubes" directory 
* no __init__.py file in your cube directory

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