Re: Plone LinguaPlone

"Maik Derstappen, Derstappen IT" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Derstappen IT Consulting
Message-ID <[email protected]>
Am 03.05.2011 16:03, schrieb Michael Graf:
>
> Hallo Liste,
>
> eine Verständnisfrage:
>
> Ich habe in Plone eine einfache Startseite (=Document) erstellt, diese 
> in EN übersetzt.
>
> Und unter ZMI -> portal_languages folgendes angewählt (alles andere aus)
>
> - Display flags for language selection.
>
> - Use language codes in URL path for manual override.
>
> - Use cookie for manual override.
>
> - Use browser language request negotiation.
>
> Dann hab ich direkt im Plone-Root die Darstellung auf dieses Dokument 
> eingestellt, eben als Startseite
>
> Sollte dann bei englischen Browsern nicht das englische Dokument kommen??
>
> Der Rest der Seite (Portlets (automatisch Events-, News Portlet), 
> Footer(=page-template, i18n), Such-Feld, Plone Bezeichnungen) wird 
> brav in englisch angezeigt.
>
>
Das funktioniert in neueren Versionen nicht mit der front-page.
Eine Lösung ist es, für jede Sprache einen eigenen Pfad z.B. /en und /de 
zu verwenden.
Das Problem wird sein, das es das PloneRootObjekt halt nur einmal gibt 
und nicht für jede Sprache separat, wie es bei den restlichen Inhalten 
der Fall ist.

Gruß Maik

-- 
========================================================================

Derstappen    I T  Consulting   Tel:         +49 ( 341 )   600  13  0 31
Zope/E-Mail/Backup/Monitoring   Mobil:       +49 ( 178 )   861  2    833
M a i k   D e r s t a p p e n   Fax:         +49 ( 180 ) 5 021 121 90 56
H e r l o ß s o h n s t r  12   Email:  [email protected]
0 4 1 5 5       L e i p z i g   Internet:    http://www.derstappen-it.de

========================================================================



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
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.