--On 21. August 2008 08:24:18 +0000 Maurits van Rees <[EMAIL PROTECTED]> wrote:


I have a site with two subdirs /en and /de. Within a custom theme I want
to  switch the Plone language to 'de' or 'en' based on the URL (this is
basically necessary for making some PFG generated forms aware of the
current language - otherwise the validation texts might appear in the
wrong  language). What's the recommended what to switch the language
within one  request?

In the ZMI in portal_languages switch on option 1: "Use language codes
in URL path for manual override."  This used to be available in the
plone control panel, but not anymore since Plone 3.

Thanks for the smart answer.
That did the job without further trickery.

Andreas

Attachment: pgp9v781Udf2y.pgp
Description: PGP signature

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to