Nuxeo mailing list archives
[CPS-devel] How to upload translations automatically ?
M.-A. DARCHE
madarche at nuxeo.com
Tue Jul 4 11:54:57 CEST 2006
Santi Camps a écrit :
>
> I'm developing a simple product over CPS 3.4 I've used Zope 3 i18n
> modules to translate most of it (under my own domain), but there are
> some little msgid that should be translated using CPS 3 way, like TTW
> defined actions or layouts.
>
> I know I can translate them in Localizer using ZMI, or also creating
> my own es.po, going to Localizer default domain, and use the Import PO
> file utility. But I'm not able to find what I should do to deploy
> this later. What should be done to automatically load
> MyProduct/i18n/es.po into Localizer/default ?
>
I would suggest you to read
http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSI18n/trunk/doc/howto-translate_cps.txt
to learn how to use portal_setup to load new translations.
There is also the MyProject example project featuring the needed profile
for loading translations :
http://svn.nuxeo.org/trac/pub/browser/CPS3/examples/MyProject/trunk/profiles/default/localizer/default.xml
There is also
http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSDefault/trunk/doc/howto-i18n.txt
which is related but less interesting for you.
Cheers,
--
Marc-Aurèle DARCHE
NUXEO (Paris, France) http://nuxeo.com/
Nuxeo Collaborative Portal Server (CPS) http://www.cps-project.org/
Gestion de contenu web / portail collaboratif / logiciel libre
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.