Re: Oold Plone (2.5.1) with LinguaPlone (1.0.1)

[email protected] Tue, 14 Aug 2012 14:38:13 +0200
Newsgroups gmane.comp.web.zope.plone.internationalization
Message-ID <[email protected]>
Jonathan,

yes - this has been.  I also looked at the ATContentTypes from that "era"
and found that its __init__.py file imported process_types and listTypes
from LinguaPLone as well.

Still it doesn't translate properly so I'll start working through the code
to see what's up.

> Asking the obvious question: in the python file defining your folderish
> content type do you have:
>
> try:
>     from Products.LinguaPlone.public import *
> except ImportError:
>     HAS_LINGUAPLONE = False
> else:
>     HAS_LINGUAPLONE = True
>
> (The above copied from a folderish content type I used on a Plone 2.5
> site)
>
> Best wishes,
>
> Jonathan Lewis
>
> On 2012/08/14, at 9:11, [email protected] wrote:
>
>> Hoi,
>>
>> I'm working on an old Plone site where there is a new folderish content
>> type needed.  The content is subclassing ATFolder and copies its
>> __implements__ attribute.  There are several fields that has the
>> argument
>> languageIndependent=True - but whenever I try to translate the content I
>> get the base_edit view of the translated object, not the side-by-side
>> translation that for example a folder gets.
>>
>> Any ideas?
>>
>> --
>> Nidelven IT || We know Python, Zope & Plone
>>
>> http://www.nidelven-it.no/
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions
>> will include endpoint security, mobile security and the latest in
>> malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Plone-i18n mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/plone-i18n
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Plone-i18n mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-i18n
>


-- 
Nidelven IT || We know Python, Zope & Plone

http://www.nidelven-it.no/


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/