code: def store(self, value, context=None):
          
          if isinstance(value, (str, unicode)):
              value = self.valueFromString(value)
  
          # store the internationalized property
          if self.testFlag(self.Flags.I18n):
              if not isinstance(value, dict):
                  context = context or orb.Context()
                  return {context.locale: value}
              else:
                  return value
          else:
              return value
docs: Converts the value to one that is safe to store on a record within
          the record values dictionary
  
          :param      value | <variant>
  
          :return     <variant>