diff --git a/src/scribe_data/extract_transform/languages/German/translations/translate_words.py b/src/scribe_data/extract_transform/languages/German/translations/translate_words.py index e7c283231..e838530e5 100644 --- a/src/scribe_data/extract_transform/languages/German/translations/translate_words.py +++ b/src/scribe_data/extract_transform/languages/German/translations/translate_words.py @@ -9,12 +9,13 @@ import json import os import sys -from scribe_data.utils import translate_to_other_languages PATH_TO_SCRIBE_ORG = os.path.dirname(sys.path[0]).split("Scribe-Data")[0] PATH_TO_SCRIBE_DATA_SRC = f"{PATH_TO_SCRIBE_ORG}Scribe-Data/src" sys.path.insert(0, PATH_TO_SCRIBE_DATA_SRC) +from scribe_data.utils import translate_to_other_languages # noqa: E402 + SRC_LANG = "German" translate_script_dir = os.path.dirname(os.path.abspath(__file__)) words_to_translate_path = os.path.join(translate_script_dir, "words_to_translate.json") @@ -37,4 +38,4 @@ word_list=word_list, translations=translations, batch_size=100, -) \ No newline at end of file +)