diff --git a/core/i18nilize/services/translation_processor.py b/core/i18nilize/services/translation_processor.py index f7ef3d5..6c8d60b 100644 --- a/core/i18nilize/services/translation_processor.py +++ b/core/i18nilize/services/translation_processor.py @@ -162,15 +162,9 @@ def get_translations_by_language(language, token): Return all translations for the given language as a dictionary. """ translations = Translation.objects.filter(language=language, token=token) - - # if not translations: - # translations = create_default_translations_for_language(language, token) translations_dict = { translation.original_word: translation.translated_word for translation in translations } - return translations_dict - -# def create_default_translations_for_language(language, token): - # to be implemented by Brian & Angela's ticket? \ No newline at end of file + return translations_dict \ No newline at end of file