enable translation mechanism in forms
in OpenDocument, use python condition instead of tal to avoid calling the object