noAim-Translation
This is a small program to simplify the text translation process for the Arma 3 noAim server
The objective is to visualize in the same window the original text to be translated, and to have a text field for the translated text that we will fill (or modify the translation already done), the whole thing, automatically making the changes in the file.
Application
How to install and run
Install from release (recommended)
- Download the last release
- Put the file
stringtable.xml
(the file must be called exactly that) in the same directory as the executable you just downloaded - You are free to run
noAim-Translator-v1.0.exe
. - All changes are saved in the
stringtable_translated.xml
file in the same directory
Install from source
- Clone this git repository :
git clone https://github.com/Gyrfalc0n/noAim-Translation.git
- Install requirements :
pip install -r requirements.txt
- Put the file
stringtable.xml
(the file must be called exactly that) in the same directory than thetranslator.py
file - Run the application :
python3 translator.py
How to use
- Select languages to translate to
- Check
Revision Mode
if you want to see text in the selected language that are already translated (useful to modify existing translation) - Check
Unscaped Mode
to seexml
andhtml
tag in a more human friendly way (checked by default) - Click
Confirm translation
to start - Navigate through text to translate with
Next text
andPrevious text
- Click
Reset text
to rest current text to its default value (value from file) - Translate text in the box (must match patern with original text (if there are some tags...))
- Click
Confirm translation
to automaticaly write translation to output file and go to the next text to translate - Close app when done
How it works
- Read informations from
stringtable.xml
and store them in memory - Sort them by languages, packages, and key
- Display in the same window (Original text, already translated or blank (is no translation is made yet) and some options)
- Write translation in the output file
- Navigate through texts (key) to translate
Limits
- It is still necessary to merge the different files translated in the different languages
Upcoming features
- Merge files feature
- Application Icon
- More input control
Author : Gyrfalcon
Discord : Gyrfalcon#1911