Adding logging to the `translate` method in `Products/Five/i18n.py
Richard C <[email protected]> Tue, 14 Jun 2011 21:17:56 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.plone.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Hi there, In order to identify the minimum amount of translated text needed for a translated site (i.e., for a language not supported by Plone) I understand that I could add some logging to the `translate` method in `Products/Five/i18n.py`, which gets called for every string that is translated. Then by visiting every page in the Plone site, I could log all the messages/strings that need translating. I'd be really grateful if someone could help with the coding to achieve this. I think it would be a very useful way of extending the use of Plone for languages not currently offered. Thanks, Richard -- View this message in context: http://plone-regional-forums.221720.n2.nabble.com/Adding-logging-to-the-translate-method-in-Products-Five-i18n-py-tp6477317p6477317.html Sent from the Internationalization mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev