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

:param      value | <variant>

:return     <variant>