diff --git a/pandora/annotation/models.py b/pandora/annotation/models.py index 8b83a3db..9e31d184 100644 --- a/pandora/annotation/models.py +++ b/pandora/annotation/models.py @@ -264,7 +264,10 @@ class Annotation(models.Model): from translation.models import Translation layer = self.get_layer() if layer.get('translate'): - Translation.objects.get_or_create(lang=lang, key=self.value, defaults={'type': Translation.CONTENT}) + for lang in settings.CONFIG['languages']: + if lang == settings.CONFIG['language']: + continue + Translation.objects.get_or_create(lang=lang, key=self.value, defaults={'type': Translation.CONTENT}) def delete(self, *args, **kwargs): with transaction.atomic():