Hello,

As atcttestcase.py from Products.LinguaPlone package describes as below,
once LinguaPlone is installed to Plone Site, all the ATCTs in the site get
ITranslatable interface implementation.


    def test_implementsTranslateable(self):
        # lingua plone is adding the ITranslatable interface to all types
        if not HAS_LINGUA_PLONE:
            return
        self.failUnless(ITranslatable.isImplementedBy(self._ATCT))
        self.failUnless(verifyObject(ITranslatable, self._ATCT))

This then means that even if "from Products.LinguaPlone.public import *" is
not described in a
content type class file, the content type could be translated or at least I
can see "Translate into ..." tab.

In my use case, most of the content types use LinguaPlone translation
implementation,
but there are some AT content types which are not wanted to be translated
and naturally I don't want to show "Translate into..." tab for this content
type.

Can somebody tell me if there are any smart way to get rid of ITranslatable
implementation from those content types.
Or are there ways not to make those content types to be translated?

Taito
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to