Starting out with ZBabel to tranlate a test site and ran into some issues. (nubie alert). The latest ZBabel's readme indicates the presence of a ZBabel.sql file to setup MySQL. This file was only found in ver. 0.0.3 and not present in the current release. Ok installed that..and installed ZBabel tower in Zope232/python1.5 Creating a very simple test page an including the <dtm-var> tags as described results in the following errors. 1. Test Page DMTL <dtml-var standard_html_header> <dtml-babel src=en dist=fr literal='1'> <h2><dtml-var title_or_id></h2> <p> This is the <dtml-var id> Document. </p> </dtml-babel> <dtml-var standard_html_footer> 2. Error Messages from ZBabelTower -- Best Chris
Hello Chris, I am very sorry that you could not get it to run right away. It is right, that I did not include a MySQL compliant version, but the problem is easily solved. All you need to do is to change the ZBabelSQL.py file a little: The first string in the file creates the DB table. You simply need to change the CREATE statement to MySQL compliant syntax. If the error remains, please send me the error message again, so that I can fix it (WARNING: I am not using MySQL, so I do not know much about the error the DB can throw.) Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
participants (2)
-
Chris Herrnberger -
Stephan Richter