@locale.setter<EOL><INDENT>def locale(self, value):<DEDENT>
self._assert_valid_locale(value)<EOL>self.__locale = value<EOL>
Sets the current locale.

@type value: str
@raises: ValueError If the locale contains invalid characters