I have made some changes:
-Patch ProxyTool-s getBestRevision
This method's search path includes session. When I translate a document
is stored in session, and while session is active the only revision of a
document is shown from there.
-Change content_translate.py
Calls Localizer to change the language before editing the document.
With this changes all seems to work fine. Do you think this is a good
way to solve the problem? May I have some other problem with the
ProxyTool patch?
Aitzol Naberan wrote:
> LOCALIZER_LANGUAGE is set correctly, but the document translation is not
> shown.
>
> I think there is something with the session manager, when I edit a
> translation, the system adds a item in the session manager and while the
> object is in the session manager the translation doesn't work, but if I
> flush the session data (manually, by changing timeout value) all works fine.
>
> Georges Racinet wrote:
>
>>On Oct 11, 2006, at 5:34 PM, Aitzol Naberan wrote:
>>
>>
>>>We have to restart the browser to see the translations correctly. Is
>>>there any session/cache parameter that could generate this behaviour?
>>
>>
>>There's a session cookie, right, but switching languages should
>>precisely change its value.
>>The cookie id is 'Localizer' or something alike
>>
>>
>>>Mikel Larreategi wrote:
>>>
>>>
>>>>Georges Racinet(e)k dio:
>>>>
>>>>
>>>>>Le 21 sept. 2006, à 14:45, Mikel Larreategi a écrit :
>>>>>
>>>>>
>>>>>
>>>>>>Hi:
>>>>>>
>>>>>>If I create a document in my CPS site and translate it into other
>>>>>>languages, I always see the last version of the document (the last
>>>>>>translation) although I switch the language.
>>>>>>
>>>>>>Nevertheless, if I log in anonymously or with another login, when I
>>>>>>switch the language, I get the correct version of the document.
>>>>>>
>>>>>>Is normal this behaviour?
>>>>>
>>>>>
>>>>>Not exactly, what's your CPS version?
>>>>>
>>>>
>>>>
>>>>CPS 3.4
>>>>
>>>>
>>>>Regards,
>>>>
>>>>
>>>>Mikel
>>>>
>>>
>>>--
>>>Aitzol Naberan Burgaña
>>>CodeSyntax
>>>http://www.codesyntax.com
>>>943 82 17 80
>>>
>>>_______________________________________________
>>>cps-users mailing list
>>>[email protected]
>>>http://lists.nuxeo.com/mailman/listinfo/cps-users
>>
>>
>>---------
>>Georges Racinet Nuxeo SAS
>>[EMAIL PROTECTED] http://nuxeo.com
>>Tel: +33 (0) 1 40 33 71 73
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cps-users mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/cps-users
--
Aitzol Naberan Burgaña
CodeSyntax
http://www.codesyntax.com
943 82 17 80
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
