This is a simple XML translator written in Python that can help you translate text within XML files from one language to another.
The initial intent of this project was to localize the files for "Baldur's Gate 3"'s mods, but it may not fully support other XML files. Future maintenance will be considered based on issues, and contributions via Pull Requests to make this a more complete XML translation tool are welcome.
- Supports translation between multiple languages.
- Uses a loop to switch between multiple translation API nodes to increase the success rate of translations.
- Provides a Graphical User Interface (GUI) for users to select files and translation languages.
- Uses a thread pool to speed up the translation process.
- Displays translation progress.
Method 1: Compile Yourself
- Clone the repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt. - Run the
app.pyfile. - In the GUI, select your XML file and translation language.
- Click the translate button to start translating.
Method 2: Use the Released .exe
- Download from the release distribution.
- Double-click the .exe file.
- In the GUI, select your XML file and translation language.
- Click the translate button to start translating.
- Python 3
- requests
- tkinter
- concurrent
Contributions via Pull Requests or Issues are welcome.
Special thanks to OwO-Network/DeepLX for their support.
MIT