code: def dbRestore(self, db_value, context=None):
          
          # restore translatable column
          if self.testFlag(self.Flags.I18n):
              if isinstance(db_value, (str, unicode)):
                  if db_value.startswith('{'):
                      try:
                          value = projex.text.safe_eval(db_value)
                      except StandardError:
                          value = {context.locale: db_value}
                  else:
                      value = {context.locale: db_value}
              else:
                  value = db_value
  
              return value
          else:
              return db_value
docs: Converts a stored database value to Python.
  
          :param typ: <str>
          :param py_value: <variant>
          :param context: <orb.Context>
  
          :return: <variant>