@@ -48,54 +48,56 @@ OfflineTranslator/
4848``` bash
4949git clone https://github.com/YourUsername/OfflineTranslator.git
5050cd OfflineTranslator
51+ ```
51522️⃣ Install dependencies:
5253
53- bash
54+ ``` bash
5455Copy code
5556pip install -r requirements.txt
57+ ```
5658Only CustomTkinter is required since translation uses a built-in dictionary.
5759
5860💻 Usage
5961CLI Mode
60- bash
62+ ``` bash
6163Copy code
6264python translator.py
6365Select 1 for CLI mode
64-
66+ ```
6567Type English text and get Persian translations instantly
6668
6769GUI Mode
68- bash
70+ ``` bash
6971Copy code
7072python translator.py
7173Select 2 for GUI mode
72-
74+ ```
7375Type your English text in the box
7476
7577Click Translate → get Persian output
7678
77- 💾 History
78- Translations are stored in history.db
79+ ### 💾 History
80+ - Translations are stored in history.db
7981
80- Automatically created on first run
82+ - Automatically created on first run
8183
82- Browse past translations anytime
84+ - Browse past translations anytime
8385
84- 📦 Release (Windows EXE)
85- Download the EXE ZIP from Releases
86+ ### 📦 Release (Windows EXE)
87+ - Download the EXE ZIP from Releases
8688
87- Extract and run translator.exe
89+ - Extract and run translator.exe
8890
89- Works without Python or any installation
91+ - Works without Python or any installation
9092
91- Recommended: run EXE in a folder where it can create history.db (e.g., Desktop or Documents)
93+ - Recommended: run EXE in a folder where it can create history.db (e.g., Desktop or Documents)
9294
93- ⚡ Notes
94- Translation uses a built-in dictionary, so not all phrases may be supported
95+ ### ⚡ Notes
96+ - Translation uses a built-in dictionary, so not all phrases may be supported
9597
96- Expandable by editing the simple_dict in translator.py
98+ - Expandable by editing the simple_dict in translator.py
9799
98- Fully offline, lightweight, and easy to distribute
100+ - Fully offline, lightweight, and easy to distribute
99101
100- 📝 License
101- MIT License © 2025 Your Name
102+ ## 📝 License
103+ MIT License © 2025 Your Name
0 commit comments