Re: Inline validation translation issues with custom archetypes and Plone 4.2.x

"David Glick (Plone)" <david.glick-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
On 6/27/13 2:50 PM, Armin Stroß-Radschinski wrote:
> Am 27.06.2013 um 18:49 schrieb David Glick (Plone) <david.glick-z4DKO/[email protected]>:
>
>> On 6/27/13 8:36 AM, Armin Stroß-Radschinski wrote:
>>> With Plone 4.2.1 and up to 4.2.5 we discovered several problems using the inline validation by javascript together with our custom archetype product generated using zopeskel.
>>>
>>> The translation of the validation errors will not be taken. Or if ever, it is taken on reload of the page but disappears at once if you call the inline validation javascript by any action resulting in the translation switching back to EN default.
>>>
>>> We created a simplified package to reproduce the error:
>>>
>>> https://bitbucket.org/acsrindustrialdesign/acsr.validatortest
>>>
>>> There is an detailed Issue Description in the tracker on bitbucket.
>>> Not sure what resource finally is the source of the issue to file a ticket there.
>>>
>>> Issue See: https://bitbucket.org/acsrindustrialdesign/acsr.validatortest/issue/1/german-translation-does-not-show-up-in
>>>
>>> Package here:
>>> https://bitbucket.org/acsrindustrialdesign/acsr.validatortest
>>>
>>> Any help where to fix this appreciated.
>>>
>>>
>> Does it happen also in Plone 4.3 which is no longer using KSS to handle inline validation?
>> David
>>
> Thanks for the suggestion David,
>
> I was able to get the general Application to work with Plone 4.3.1.
>
> The result was the same: translations of inline validation are gone.
>
> Veit Schiele pointed out that the language informations in the *.po files were not proper tagged in my example. But it came out, that with Plone 4 and locales folders that had no effect. We changed that in the test package already.
>
> Due to using ore.contentmirror we are currently stuck with 4.2.1 because the mirror-ddl, and mirror-bulk scripts are not working with Plone > 4.2.1.
>
>
Looks like Patrick Gerken checked in a fix for this to archetypes.kss 
for Plone 4.2, and I just ported it to Products.Archetypes for 4.3.
David

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.