[Zope-CMF] Problems translating CMFDefault

Dieter Maurer dieter@handshake.de
Thu, 19 Dec 2002 00:18:50 +0100


Gitte Wange writes:
 > Hello out there,
 > 
 > Well I finally started translating the zpt skins from CMFDefault :-))
 > I want to give you all nice translations for christmas ... but I need some 
 > guiding here ...
 > 
 > The value of the submit buttons on the edit forms (document_edit_form, 
 > link_edit_form etc. etc.) will be translated.
 > But this causes a problem for the edit method, since this uses the text on the 
 > button to determine what action to return to (view or edit).
 > 
 > Anybody here would mind if I make a small adjustment to the edit scripts?
 > I will give the submit buttons a name and see if REQUEST contains this name 
 > instead of the behaviour that exists now ... 
Good idea!


Dieter