[Plone-IT] Ultima versione di plone e file di lingua

Yuri yurj a alfa.it
Gio 26 Feb 2009 16:01:44 UTC


temuccio ha scritto:
> Ragazzi, 
> installando l'ultima versione di plone ho visto subito un cambiamento: da
> /opt/ si  passati a /usr/local. Ripristinato il backup del sito, noto che
> pur settando la lingua in italiano, questo non funziona. Sono andato a
> vedere quindi nella directpy Plone/zinstance/parts/plone/PloneTranslations e
> addirittura ho solo Plone/zinstance/parts... (manca da plone in poi)
> come posso fare per metterlo in italiano? devo per forza installare una
> versione + vecchia?
>   

> Mikel Larreategi(e)k dio:
>   
>> > Mikel Larreategi(e)k dio:
>>     
>>> >> Martin Stadler(e)k dio:
>>>       
>>>> >>> Am 25.02.2009 um 17:29 schrieb Mikel Larreategi:
>>>> >>>
>>>>         
>>>>> >>>> Hi:
>>>>> >>>>
>>>>> >>>> In Plone 3.1.x and Plone 2.5.x I had a svn section in my buildout to
>>>>> >>>> download, using infrae.subversion the latest version of
>>>>> >>>> PloneTranslations to have the freshest translation files in my Plone.
>>>>> >>>>
>>>>> >>>> In Plone 3.2.x the translations are handled by plone.app.locales. How
>>>>> >>>> can I use a svn-checkout of plone.app.locales and configure it as a
>>>>> >>>> develop-egg using just buildout?
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> Thank you in advance,
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> Mikel
>>>>> >>>>
>>>>>           
>>>> >>> infrae.subversion is also able to checkout eggs from Subversion. This  
>>>> >>> way it's probably possible to do the same thing as you did with the  
>>>> >>> old-style product.
>>>> >>>
>>>>         
>>> >> Hi Martin:
>>> >>
>>> >> Thank you for your answer.
>>> >>
>>> >> I've checked that optiona and infrae.subversion has an "as_eggs" option 
>>> >> to get the checkout registered as a develop-egg, but I can't get it 
>>> >> installed this is my buildout:
>>> >>
>>> >> [buildout]
>>> >>
>>> >> parts=
>>> >>    zope2
>>> >>    svnproducts
>>> >>    instance
>>> >>
>>> >> extends = http://dist.plone.org/release/3.2.1/versions.cfg
>>> >> versions = versions
>>> >> find-links =
>>> >>      http://dist.plone.org/release/3.2.1	
>>> >>      http://dist.plone.org
>>> >>      http://effbot.org/downloads
>>> >> eggs = Plone
>>> >> develop =
>>> >>
>>> >> [svnproducts]
>>> >> recipe = infrae.subversion
>>> >> urls =
>>> >>     http://svn.plone.org/svn/plone/plone.app.locales/trunk plone.app.locales
>>> >>
>>> >> as_eggs = true
>>> >>
>>> >> [instance]
>>> >> ...
>>> >> eggs =
>>> >>     ${svnproducts:eggs}
>>> >>     ${buildout:eggs}
>>> >>
>>> >> I run ./bin/buildout -vv but I'm still getting plone.app.locales 3.4.1 :S
>>> >>
>>> >> erral a lindari:/var/zope/instances/3198gotzon$ more bin/instance | grep 
>>> >> locale
>>> >>    '/var/zope/downloads/eggs/plone.app.locales-3.1.4-py2.4.egg',
>>> >>
>>> >> If I change the order in the list, I still get the same:
>>> >>
>>> >> [instance]
>>> >> ...
>>> >> eggs =
>>> >>     ${buildout:eggs}
>>> >>     ${svnproducts:eggs}
>>> >>
>>> >>
>>> >> Any hint?
>>> >>
>>>       
>> > 
>> > It doesn't work either if I download manually to src and mark it as 
>> > develop-egg :S
>> > 
>> > With plone.recipe.plone it was possible to override an egg, just adding 
>> > it to it sections eggs option :S
>> > 
>>     
>
> I got it !
>
> I have to remove plone.app.locales from the versions section:
>
> [buildout]
> parts =
>      zope2
>      svn
>      instance
>
> extends = http://dist.plone.org/release/3.2.1/versions.cfg
> versions = versions
>
>
> versions -=
>      plone.app.locales
>
> find-links =
>      http://dist.plone.org/release/3.2.1	
>      http://dist.plone.org
>      http://effbot.org/downloads
>
> eggs =
>      Plone
>
> develop =
>
> [versions]
> Products.PloneLanguageTool = 2.1
>
> [svn]
> recipe = infrae.subversion
> urls =
>      http://svn.plone.org/svn/plone/plone.app.locales/trunk 
> plone.app.locales
> as_eggs = true
>
> [zope2]
> recipe = plone.recipe.zope2install
> url = ${versions:zope2-url}
> fake-zope-eggs = True
> aditional-fake-eggs =
>      ZODB3
>      ZConfig
>      pytz
>
> [instance]
> recipe = plone.recipe.zope2instance
> zope2-location = ${zope2:location}
> user = admin:admin
> http-address = 3198
> debug-mode = on
> verbose-security = on
> eggs =
>      ${buildout:eggs}
>
> zcml =
>      Products.CacheSetup
>
> products =
>      ${buildout:directory}/products
>
> erral a lindari:/var/zope/instances/3198gotzon$ more bin/instance | grep 
> locales
>    '/var/zope/instances/3198gotzon/parts/svn/plone.app.locales',
>   





Maggiori informazioni sulla lista Plone-IT