Re: Plone LinguaPlone

Thomas Massmann <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hi,

On May 3, 2011, at 5:14 PM, Maik Derstappen, Derstappen IT wrote:

> 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.

Dafür gibt es ein Skript, welches man aufrufen kann: http://localhost:8080/Plone/@@language-setup-folders

Das ganze ist auch hier sehr gut beschrieben: http://www.hasecke.com/plone-benutzerhandbuch/4.0/erweiterungen/linguaplone/index.html

> 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

Grüße
Thomas

> 
> -- 
> ========================================================================
> 
> 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



--------------------
Thomas Massmann

Inqbus
Herloßsohnstr. 12
04155 Leipzig, Gemany

Phone: +49-341-5916261
Cell Phone: +49-176-82198390

E-Mail: [email protected]
WWW: http://inqbus-hosting.de



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
PGP.sig (application/pgp-signature, 881 B) - not displayed
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.