Re: plone4: how to override translations in plone.app.locales?
Vincent Fretin <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.internationalization |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 25, 2010 at 7:17 PM, Hanno Schlichting <[email protected]> wrote: > Hi. > > On Wed, Aug 25, 2010 at 6:56 PM, Petri Savolainen > <[email protected]> wrote: >> Which should one use - a policy or a translation package? Can you >> point to some information on policies? > > It doesn't really matter. I'd go with the simpler option and avoid the > extra package. If you have a reusable add-on it should contain it's > own translations. If you have a custom policy package for a specific > site, it doesn't really add any value to have an extra package just > for translations. > >> I managed to make a working translation package with your >> instructions- however the automatic compilation of .po files that you >> mention is missing or turned off by default (plone4 rc1 from mac >> unified installer) - maybe there is a buildout switch to turn it on, >> or something? > > Can you make sure the instance section in the buildout has this: > > environment-vars = > zope_i18n_compile_mo_files = true Please don't put the equal sign in environment-vars. If you do that zope_i18n_compile_mo_files will be equal to "= true" which is true. :) Vincent ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d