Kaynağa Gözat

docs: enhance README_GUI with environment variable settings and supported languages

namazu 1 yıl önce
ebeveyn
işleme
a1782b1813
1 değiştirilmiş dosya ile 22 ekleme ve 0 silme
  1. 22 0
      docs/README_GUI.md

+ 22 - 0
docs/README_GUI.md

@@ -8,6 +8,28 @@ This subfolder provides the GUI mode of `pdf2zh`.
 
 2. Drop the PDF file into the window and click `Translate`.
 
+### Environment Variables
+
+You can set the source and target languages using environment variables:
+
+- `PDF2ZH_LANG_FROM`: Sets the source language. Defaults to "English".
+- `PDF2ZH_LANG_TO`: Sets the target language. Defaults to "Simplified Chinese".
+
+### Supported Languages
+
+The following languages are supported:
+
+- English
+- Simplified Chinese
+- Traditional Chinese
+- French
+- German
+- Japanese
+- Korean
+- Russian
+- Spanish
+- Italian
+
 ## Preview
 
 <img src="./images/before.png" width="500"/>