Re: plone domain translations in add-ons for Plone 3 and 4
Vincent Fretin <[email protected]> Fri, 18 Nov 2011 23:39:28 +0100
| Newsgroups | gmane.comp.web.zope.plone.internationalization |
|---|---|
| Message-ID | <CAD=kyd-Aa8pB7xrcRSYYJkpfogR0Up4VHaCpw-MVmhWZWfLndg@mail.gmail.com> |
On Fri, Nov 18, 2011 at 7:33 PM, Maurits van Rees < m.van.rees-1kr/[email protected]> wrote: > Op 18-11-11 15:22, Vincent Fretin schreef: > > Hi, > > > > I thought that translations in i18n folder worked on both Plone 3 and 4, > > is it not the case? > > In Plone 4, the po files in the the i18n directory are loaded with the > > same engine as po files in the locales folder, right? > > It should merge translations if there is several po files with the same > > domain. If not, I think it's a bug. > > An i18n directory still works in Plone 4. But when one or more locales > directories have been registered for a domain, any po files for that > domain in an i18n directory are ignored. > > Oh wait, I may have fooled myself. Translations for the plone domain in > an i18n directory *are* picked up when the package is in the Products > namespace. > > Hm, the same *should* probably be true for packages in a different > namespace as long as you register the package in zcml: > > <five:registerPackage package="." /> > > But that is not the case. Seems a bug indeed. I will see if I can find > out where the problem is. > Ah! You're right, there is an issue here. Some translations in the plone domain in the i18n folder of plone.app.discussion doesn't show up in Plone 4.2, like the Commentators criteria and its description. :( Vincent ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Plone-i18n mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-i18n