Skip to content

Commit 14b1cac

Browse files
authored
Update README.md
1 parent 9024dc0 commit 14b1cac

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

README.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,54 +48,56 @@ OfflineTranslator/
4848
```bash
4949
git clone https://github.com/YourUsername/OfflineTranslator.git
5050
cd OfflineTranslator
51+
```
5152
2️⃣ Install dependencies:
5253

53-
bash
54+
```bash
5455
Copy code
5556
pip install -r requirements.txt
57+
```
5658
Only CustomTkinter is required since translation uses a built-in dictionary.
5759

5860
💻 Usage
5961
CLI Mode
60-
bash
62+
```bash
6163
Copy code
6264
python translator.py
6365
Select 1 for CLI mode
64-
66+
```
6567
Type English text and get Persian translations instantly
6668

6769
GUI Mode
68-
bash
70+
```bash
6971
Copy code
7072
python translator.py
7173
Select 2 for GUI mode
72-
74+
```
7375
Type your English text in the box
7476

7577
Click 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

Comments
 (0)