Skip to content

EDD Translation Tool - automated GUI tool for translating EDDiscovery

License

Notifications You must be signed in to change notification settings

goscickiw/EDDTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDDTT

EDD Translation Tool - automated GUI tool for translating EDDiscovery

License Build status

Download here: https://github.com/goscickiw/EDDTC/releases/latest

It looks like this:
EDDTT_preview

How to use

Preparations

You can use EDDTT in two ways:

  • Select the example and translation file manually in File Paths menu, or
  • Select the directory of your local EDDiscovery repository in EDD repository menu and automatically detect the paths to every file using the Auto-Set Paths menu. This option also allows you to create an entirely new translation file set from the example files by pressing the New Language button.

The first way doesn't need much explaining. Just go to the File Paths menu and set the paths using the Set the ... file path manually buttons. Then, press the Load 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.

  1. If you want to use the location of your EDDiscovery installation instead of EDD local repository, go to EDDTC/File Detection Settings/Paths and Naming and change every Path to just \.
  2. Go to the EDD repository menu and press Set EDD repository directory.
  3. Select the path to your local EDDiscovery repository (It should be the folder with EDDiscovery.sln in it, or the folder with EDDiscovery.exe if you use step 0).
  4. 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, the Auto-Set Paths menu and the New 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 press New Language to create a new file set from example files (For more on how to use the New Language option, go to Creating New Translation).
EDDTT_select_language

At this point, the only thing you need to do to load the files is to go to the Auto-Set Paths menu and choose which file you want to edit:
EDDTT_autoset_menu
(Unless you don't use the Load and Compare on Auto-Set Paths option, in this case you have to press Load and Compare Files as well)

Editing the Translation

1. Editing

You can edit the translation in the Translation Text (editable) column of the Translation and Differences tables.

If you want to preserve the format, hidden spaces, special characters etc. from example, you can click on the corresponding cell in the Example Text column to copy its contents into the Translation Text (editable) column. If the translation cell is not empty, you need to double click instead.

2. Differences

If there were new IDs added to the example file and they are not present in the translation file, they will be listed in the Differences tab.
Before loading the file, I removed some IDs to demonstrate. It looks like this:
EDDTT_differences_view

You can add the translation text. When you're done, press Apply Differences to Translation to move the IDs to the Translation table.

3. Saving

After you finish working on the translation, press Save Changes.

Creating New Translation

You can create a new set of translation files from the example files by using the New Language option.

Press the New Language button.
This window should show up:
EDDTT_new_language

Enter the name for the new language, as in the example. Then press OK.
(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 the Auto-Set Paths after creating new language option enabled, EDDTT will set the paths to the example and newly created translation main files. If you have Load and Compare on Auto-Set Paths enabled as well, these files will be automatically loaded.