def __init__(self, tablename, field, translate=True):
        """
            Constructor

            @param tablename: the table name
            @param field: the Field or a Storage with field information
            @param translate: enable/disable label translation
        """

        self.tablename = tablename
        self.field = field

        self.name = field.name
        self.ref = "/%s/%s" % (self.tablename, self.name)

        self.translate = translate

        # Initialize properties
        self._model = None
        self._binding = None
        self._strings = None
        self._widget = None

    # -------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/modules/s3/s3xforms.py/S3XFormsField.__init__/original