- Notifications
You must be signed in to change notification settings - Fork0
EDD Translation Tool - automated GUI tool for translating EDDiscovery
License
goscickiw/EDDTT
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
EDD Translation Tool - automated GUI tool for translatingEDDiscovery
Download here:https://github.com/goscickiw/EDDTC/releases/latest
You can use EDDTT in two ways:
- Select the example and translation file manually inFile Paths menu, or
- Select the directory of your local EDDiscovery repository inEDD repository menu and automatically detect the paths to every file using theAuto-Set Paths menu. This option also allows you to create an entirely new translation file set from the example files by pressing theNew Language button.
The first way doesn't need much explaining. Just go to theFile Paths menu and set the paths using theSet the ... file path manually buttons. Then, press theLoad and Compare Files button to, well, load and compare the files.
The second (better) way uses your local EDDiscovery repository path to automatically detect present languages and set the paths to them. It's much easier and faster than setting the paths manually every time.
In order to use it, you need to set the repository directory first.
- If you want to use the location of your EDDiscovery installation instead of EDD local repository, go toEDDTC/File Detection Settings/Paths and Naming and change every Path to just
\
. - Go to theEDD repository menu and pressSet EDD repository directory.
- Select the path to your local EDDiscovery repository (It should be the folder with
EDDiscovery.sln
in it, or the folder withEDDiscovery.exe
if you use step 0). - The path is stored in program settings, so you don't have to set it every time you start EDDTT.
When you set the path properly, the language selection, theAuto-Set Paths menu and theNew Language button will be unlocked.
EDDTT will automatically detect all languages present in the repository. It will also do it on startup, and automatically select previously used language.
Select the language you want to edit from the drop-down list, or pressNew Language to create a new file set from example files (For more on how to use theNew Language option, go toCreating New Translation).
At this point, the only thing you need to do to load the files is to go to theAuto-Set Paths menu and choose which file you want to edit:
(Unless you don't use theLoad and Compare on Auto-Set Paths option, in this case you have to pressLoad and Compare Files as well)
You can edit the translation in theTranslation Text (editable)
column of theTranslation andDifferences tables.
If you want to preserve the format, hidden spaces, special characters etc. from example, you can click on the corresponding cell in theExample Text
column to copy its contents into theTranslation Text (editable)
column. If the translation cell is not empty, you need to double click instead.
If there were new IDs added to the example file and they are not present in the translation file, they will be listed in theDifferences tab.
Before loading the file, I removed some IDs to demonstrate. It looks like this:
You can add the translation text. When you're done, pressApply Differences to Translation to move the IDs to theTranslation table.
After you finish working on the translation, pressSave Changes.
You can create a new set of translation files from the example files by using theNew Language option.
Press theNew Language button.
This window should show up:
Enter the name for the new language, as in the example. Then pressOK.
(Anuluj means Cancel in Polish, but I don't want to install English OS just to make this picture)
EDDTT will create a new set of language files from example files. In the main file, the inclusions for other files will be changed accordingly.
Also, if you have theAuto-Set Paths after creating new language option enabled, EDDTT will set the paths to the example and newly created translation main files. If you haveLoad and Compare on Auto-Set Paths enabled as well, these files will be automatically loaded.
About
EDD Translation Tool - automated GUI tool for translating EDDiscovery