def set(self, id, translation, domain='<STR_LIT>'):
assert isinstance(id, (str, unicode))<EOL>assert isinstance(translation, (str, unicode))<EOL>assert isinstance(domain, (str, unicode))<EOL>self.add({id: translation}, domain)<EOL>
Sets a message translation.