def get_translation_obj(self, lang, field, create=False):
trans = None<EOL>try:<EOL><INDENT>trans = Translation.objects.get(<EOL>object_id=self.id,<EOL>content_type=ContentType.objects.get_for_model(self),<EOL>lang=lang,<EOL>field=field,<EOL>)<EOL><DEDENT>except Translation.DoesNotExist:<EOL><INDENT>if create:<EOL><INDENT>trans = Translation.objects.create(<EOL>object_id=self.id,<EOL>content_type=ContentType.objects.get_for_model(self),<EOL>lang=lang,<EOL>field=field,<EOL>)<EOL><DEDENT><DEDENT>return trans<EOL>
Return the translation object of an specific field in a Translatable
istance

@type lang: string
@param lang: a string with the name of the language

@type field: string
@param field: a string with the name that we try to get

@rtype: Translation
@return: Returns a translation object