|
From: | Juan David Ibáñez Palomar |
Subject: | Re: [Nuxeo-localizer] robot / spider and Localizer |
Date: | Tue, 18 Mar 2003 16:38:13 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030316 Debian/1.3-1 |
Milos Prudek wrote:
oh, you can't, but you don't need it anyway, because 0.8.1 already includes SELECTED_LANGUAGE.Why <dtml-var SELECTED_LANGUAGE> returns KeyError, then? Zope has encountered an error while publishing this resource. Error Type: KeyError Error Value: SELECTED_LANGUAGE
Do you have an instance of the Localizer object? Look at the Localizer.__call__ code, the SELECTED_LANGUAGE variable is set there (note that if there is the hook_traversal property it must be true). -- J. David Ibáñez, http://www.j-david.net Software Engineer / Ingénieur Logiciel / Ingeniero de Software
[Prev in Thread] | Current Thread | [Next in Thread] |