Picon

Re: How to get LinguaPlone running with Plone 3.0.5 ?

For all of you out there who are trying to get LinguaPlone running without
success, here's my howto:

http://plone.org/documentation/how-to/installing-linguaplone-for-plone-3-0-5
-february-2008

It's waiting for reviewal.
Possibly you can already read it if you have an account on Plone.org. 

> -----Ursprüngliche Nachricht-----
> Von: plone-users-bounces@... [mailto:plone-users-
> bounces@...] Im Auftrag von Benjamin Sommerfeld
> Gesendet: Montag, 4. Februar 2008 13:19
> An: plone-users@...
> Betreff: Re: [Plone-Users] How to get LinguaPlone running with Plone 3.0.5
> ?
> 
> Very, very nice!
> Except the fact that in IE there is a "_" displayed besides the language
> icons, everything worked out. I already posted a how-to on plone.org for
> reviewal, so that hopefully others can get LinguaPlone working without
> investing weeks of work and depression.
> 
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: plone-users-bounces@... [mailto:plone-users-
> > bounces@...] Im Auftrag von "B. Sc. Thomas Maßmann"
> > Gesendet: Montag, 4. Februar 2008 12:46
> > An: plone-users@...
> > Betreff: Re: [Plone-Users] How to get LinguaPlone running with Plone
> 3.0.5
> > ?
> >
> > As I wrote in the last mail apply the changes to the template. After
> that
> > you can use the flags following these steps:
> > Go to ZMI, "portal_languages" and check "Display flags for language
> > selection."
> >
> >
> > Benjamin Sommerfeld schrieb:
> > > I just got LinguaPlone running, thanks a lot!
> > >
> > > Just one more question: How can I replace the language selection with
> > some
> > > custom icons? I want to put up flags for the languages, right now
> there
> > are
> > > just text links saying "German", "English" and so on...
> > >
> > > After I have that I will put up a little howto on plone.org
> > documentation
> > > for all the others out there who are desperately fighting with Plone 3
> > and
> > > LinguaPlone right now (which are a lot if I see it right in the
> forums)
> > >
> > >
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: plone-users-bounces@... [mailto:plone-users-
> > >> bounces@...] Im Auftrag von "B. Sc. Thomas Maßmann"
> > >> Gesendet: Montag, 4. Februar 2008 12:34
> > >> An: plone-users@...
> > >> Betreff: Re: [Plone-Users] How to get LinguaPlone running with Plone
> > 3.0.5
> > >> ?
> > >>
> > >> Hi Benjamin,
> > >>
> > >> What I forgot was the point with the i18n egg. I had this problem 2
> > days
> > >> ago with a clean Plone 3.0.5.
> > >>
> > >> If you use the buildout mechanism just make your buildout.cfg look
> like
> > >> this:
> > >> ...
> > >> # Add additional eggs here
> > >> # elementtree is required by Plone
> > >> eggs =
> > >>     elementtree
> > >>     Products.LinguaPlone
> > >> ...
> > >>
> > >> [plone]
> > >> recipe = plone.recipe.plone==3.0.5
> > >> eggs =
> > >>     plone.app.i18n
> > >> ...
> > >>
> > >>
> > >> But there is another thing you might want to change: if you use flags
> > to
> > >> change languages in your site, you have to change the template
> > >> "selector.pt" located in "eggs/Products.LinguaPlone-2.1alpha1-
> > >> py2.4.egg/Products/LinguaPlone/browser". In line 19, change the
> content
> > >> from "                    <tal:flag condition="python: False">" to
> > >> "<tal:flag condition="flag">".
> > >>
> > >> Regards Thomas
> > >>
> > >>
> > >> Benjamin Sommerfeld schrieb:
> > >>> Hi Thomas,
> > >>>
> > >>> I did that but still get the same error when I re-install
> > >>> LocalBrowserLayerSupport / LinguaPlone.
> > >>>
> > >>> I also looked that I have the latest version of plone-app.i18n
> > >>> installed...and I already have version 1.0.3...so that also isn't
> the
> > >>> problem...
> > >>>
> > >>> Do you know any further hints?
> > >>>
> > >>>
> > >>>> -----Ursprüngliche Nachricht-----
> > >>>> Von: "B. Sc. Thomas Maßmann" [mailto:tmassman@...e]
> > >>>> Gesendet: Montag, 4. Februar 2008 11:14
> > >>>> An: Benjamin Sommerfeld
> > >>>> Betreff: Re: [Plone-Users] How to get LinguaPlone running with
> Plone
> > >> 3.0.5
> > >>>> ?
> > >>>>
> > >>>> Hi Benjamin,
> > >>>>
> > >>>> Just go to the ZMI, portal_types, select "Large Plone Folder" and
> > >> change
> > >>>> the boolean value of "Implicitly addable?" to "True". Then install
> > >>>> LinguaPlone. That's it.
> > >>>>
> > >>>> Regards Thomas
> > >>>>
> > >>>> Benjamin Sommerfeld schrieb:
> > >>>>> Hi guys,
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> I am trying to install LinguaPlone again these days and hope you
> can
> > >>>>> help me out. I installed LinguaPlone with Buildout again today, so
> > it
> > >> is
> > >>>>> the version 2.1alpha1.
> > >>>>>
> > >>>>> Installation of LocalBrowserLayerSupport and LinguaPlone went
> > without
> > >>>>> problems, but when I want to save Languages in site setup, I get
> > this
> > >>>> error:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>     *Site Error*
> > >>>>>
> > >>>>> An error was encountered while publishing this resource.
> > >>>>>
> > >>>>> **TraversalError**
> > >>>>>
> > >>>>> Sorry, a site error occurred.
> > >>>>>
> > >>>>> Traceback (innermost last):
> > >>>>>
> > >>>>> ………….
> > >>>>>
> > >>>>> …………
> > >>>>>
> > >>>>>     * Module zope.tales.tales, line 696, in evaluate
> > >>>>>       *URL: main_template*
> > >>>>>       *Line 73, Column 8*
> > >>>>>       *Expression: <StringExpr u'plone.portaltop'>*
> > >>>>>       *Names:*
> > >>>>>
> > >>>>> ·                {'container': <PloneSite at /hhn>,
> > >>>>>
> > >>>>> ·                 'context': <PloneSite at /hhn>,
> > >>>>>
> > >>>>> ·                 'default': <object object at 0xb7db3528>,
> > >>>>>
> > >>>>> ·                 'here': <PloneSite at /hhn>,
> > >>>>>
> > >>>>> ·                 'loop': {},
> > >>>>>
> > >>>>> ·                 'nothing': None,
> > >>>>>
> > >>>>> ·                 'options': {'args': ()},
> > >>>>>
> > >>>>> ·                 'repeat':
> > >>>> <Products.PageTemplates.Expressions.SafeMapping object at
> > 0xb56611ac>,
> > >>>>> ·                 'request': <HTTPRequest,
> > >>>> URL=http://myURL:8080/hhn/ <at>  <at> language-controlpanel>,
> > >>>>> ·                 'root': <Application at >,
> > >>>>>
> > >>>>> ·                 'template': <ImplicitAcquirerWrapper object at
> > >>>> 0xb2e6cf6c>,
> > >>>>> ·                 'traverse_subpath': [],
> > >>>>>
> > >>>>> ·                 'user': <PropertiedUser 'myUser'>,
> > >>>>>
> > >>>>> ·                 'view':
> > >> <Products.Five.metaclass.LanguageControlPanel
> > >>>> object at 0xb2480a8c>,
> > >>>>>  'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
> > >> object
> > >>>> at 0xb2d5ad4c>}
> > >>>>> ………….
> > >>>>>
> > >>>>> ………….
> > >>>>>
> > >>>>>     * Module zope.tales.tales, line 696, in evaluate
> > >>>>>       *URL: languageselector*
> > >>>>>       *Line 39, Column 16*
> > >>>>>       *Expression: <PathExpr standard:'lang/code'>*
> > >>>>>       *Names:*
> > >>>>>
> > >>>>> ·                {'container': <PloneSite at /hhn>,
> > >>>>>
> > >>>>> ·                 'context': <PloneSite at /hhn>,
> > >>>>>
> > >>>>> ·                 'default': <object object at 0xb7db3528>,
> > >>>>>
> > >>>>> ·                 'here': <PloneSite at /hhn>,
> > >>>>>
> > >>>>> ·                 'loop': {'lang':
> > >>>> <Products.PageTemplates.Expressions.PathIterator object at
> > >> 0xb24daeac>},
> > >>>>> ·                 'nothing': None,
> > >>>>>
> > >>>>> ·                 'options': {'args': ()},
> > >>>>>
> > >>>>> ·                 'repeat':
> > >>>> <Products.PageTemplates.Expressions.SafeMapping object at
> > 0xb24da42c>,
> > >>>>> ·                 'request': <HTTPRequest,
> > >>>> URL=http://myURL:8080/hhn/ <at>  <at> language-controlpanel>,
> > >>>>> ·                 'root': <Application at >,
> > >>>>>
> > >>>>> ·                 'template': <ImplicitAcquirerWrapper object at
> > >>>> 0xb248336c>,
> > >>>>> ·                 'traverse_subpath': [],
> > >>>>>
> > >>>>> ·                 'user': <PropertiedUser 'myUser'>,
> > >>>>>
> > >>>>> ·                 'view':
> > >>>> <Products.Five.viewlet.metaconfigure.LanguageSelector object at
> > >>>> 0xb24daaec>,
> > >>>>>  'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
> > >> object
> > >>>> at 0xb2490c8c>}
> > >>>>>     * Module zope.tales.expressions, line 217, in __call__
> > >>>>>     * Module Products.PageTemplates.Expressions, line 153, in
> _eval
> > >>>>>     * Module zope.tales.expressions, line 124, in _eval
> > >>>>>     * Module Products.PageTemplates.Expressions, line 103, in
> > >>>>>       trustedBoboAwareZopeTraverse
> > >>>>>     * Module zope.traversing.adapters, line 164, in
> > >> traversePathElement
> > >>>>>       __traceback_info__: ({u'flag':
> > >>>>>       u'/++resource++country-flags/de.gif', 'selected': True,
> > u'name':
> > >>>>>       u'German (Germany)'}, 'code')
> > >>>>>     * Module zope.traversing.adapters, line 52, in traverse
> > >>>>>       __traceback_info__: ({u'flag':
> > >>>>>       u'/++resource++country-flags/de.gif', 'selected': True,
> > u'name':
> > >>>>>       u'German (Germany)'}, 'code', [])
> > >>>>>
> > >>>>> TraversalError: ({u'flag': u'/++resource++country-flags/de.gif',
> > >>>>> 'selected': True, u'name': u'German (Germany)'}, 'code') (Also,
> the
> > >>>>> following error occurred while attempting to render the standard
> > error
> > >>>>> message, please see the event log for full details: ({u'flag':
> > >>>>> u'/++resource++country-flags/de.gif', 'selected': True, u'name':
> > >>>>> u'German (Germany)'}, 'code'))
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> Can you guys help me out?
> > >>>>>
> > >>>>>
> > >>>>> ------------------------------------------------------------------
> --
> > --
> > >> --
> > >>>>> ------------------------------------------------------------------
> --
> > --
> > >> --
> > >>>> -
> > >>>>> This SF.net email is sponsored by: Microsoft
> > >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> > >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > >>>>>
> > >>>>>
> > >>>>> ------------------------------------------------------------------
> --
> > --
> > >> --
> > >>>>> _______________________________________________
> > >>>>> Plone-Users mailing list
> > >>>>> Plone-Users@...
> > >>>>> https://lists.sourceforge.net/lists/listinfo/plone-users
> > >>>> --
> > >>>>
> > >>>> Mit freundlichen Grüßen
> > >>>>
> > >>>> Thomas Maßmann
> > >>>>
> > >>>>
> > >>>> -------------------------------------------------------------------
> --
> > --
> > >> -
> > >>>> B. Sc. Thomas Maßmann
> > >>>> HTWK Leipzig, Fachbereich Informatik, Mathematik und
> > >> Naturwissenschaften
> > >>>> Matrikel 06INM
> > >>>> Studienkommission Informatik
> > >>>>
> > >>>> Mail:   thomas@...
> > >>>>         tmassman@...
> > >>>> Web:    www.it-spir.it
> > >>>>         www.imn.htwk-leipzig.de
> > >>>> -------------------------------------------------------------------
> --
> > --
> > >> -
> > >> --
> > >>
> > >> Mit freundlichen Grüßen
> > >>
> > >> Thomas Maßmann
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> --
> > -
> > >> B. Sc. Thomas Maßmann
> > >> HTWK Leipzig, Fachbereich Informatik, Mathematik und
> > Naturwissenschaften
> > >>
> > >> Matrikel 06INM
> > >> Studienkommission Informatik
> > >>
> > >> Mail:   thomas@...
> > >>         tmassman@...
> > >> Web:    www.it-spir.it
> > >>         www.imn.htwk-leipzig.de
> > >> ---------------------------------------------------------------------
> --
> > -
> > >
> > >
> > >
> > > ----------------------------------------------------------------------
> --
> > -
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > _______________________________________________
> > > Plone-Users mailing list
> > > Plone-Users@...
> > > https://lists.sourceforge.net/lists/listinfo/plone-users
> > >
> >
> > --
> >
> > Mit freundlichen Grüßen
> >
> > Thomas Maßmann
> >
> >
> > ------------------------------------------------------------------------
> > B. Sc. Thomas Maßmann
> > HTWK Leipzig, Fachbereich Informatik, Mathematik und Naturwissenschaften
> >
> > Matrikel 06INM
> > Studienkommission Informatik
> >
> > Mail:   thomas@...
> >         tmassman@...
> > Web:    www.it-spir.it
> >         www.imn.htwk-leipzig.de
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Plone-Users mailing list
> > Plone-Users@...
> > https://lists.sourceforge.net/lists/listinfo/plone-users
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Users@...
> https://lists.sourceforge.net/lists/listinfo/plone-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane