diff --git a/pdf2zh/gui.py b/pdf2zh/gui.py index cff3d2dc..bf4c557c 100644 --- a/pdf2zh/gui.py +++ b/pdf2zh/gui.py @@ -49,7 +49,8 @@ "AnythingLLM": AnythingLLMTranslator, } lang_map = { - "Chinese": "zh", + "Simplified Chinese": "zh", + "Traditional Chinese": "zh-TW", "English": "en", "French": "fr", "German": "de", @@ -309,7 +310,7 @@ def progress_bar(t: tqdm.tqdm): lang_to = gr.Dropdown( label="Translate to", choices=lang_map.keys(), - value="Chinese", + value="Simplified Chinese", ) page_range = gr.Radio( choices=page_map.keys(),