Alexander, thanks for your help. This code makes the script - and its proxying - superfluous, which is what i want. The Proxied-as-Manager script was unacceptable to me (except as a quick fix).
Cheers, Kees Alexander Pilz wrote: > If you know that your object is linguaplonish, it should be enough to do > > <a tal:define="preflang here/portal_languages/getPreferredLanguage; > disclaimer nocall:here/disclaimer; > local_disclaimer python:disclaimer.getTranslation(preflang)" > tal:attributes="href local_disclaimer/absolute_url" > tal:content="local_disclaimer/Title" /> > > I would be interested in the reason why you consider your mentioned > approach unacceptable :) > > br > alex > > > Kees Hink schrieb: >> What is the right way to link from a page template to a content item, in >> such a way that the link shows in the user's language? >> >> The use case is a footer which has links to content items, so site >> managers can >> edit "Terms of service" (or similar site-wide documents) and its >> translations. >> >> I figured out one way to do it, but in many cases it will be >> unacceptable. >> http://plone.org/documentation/how-to/create-links-to-translated-content >> >> Thanks in advance for any hints, comments, etc. >> >> Kees >> >> _______________________________________________ >> Product-Developers mailing list >> [email protected] >> http://lists.plone.org/mailman/listinfo/product-developers >> > _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
