Guide to translation of FileZilla
Introduction:
Translation of FileZilla is quite simple. You only need the resource files of FileZilla and MS VC++
Getting started:
Extract the resource files in into a new folder and open the project file (.dsp file) with VC++. A warning about a missing workspace may appear, ignore it. On the left side of the VC++ window you should see 3 registers: Classes, Resources and Files (may be truncated). Click on resources and a list of all resource types should popup. The resources you should translate are: Dialogs, menus and the string table.
Be careful: Format specifications
Be cautious when you see %d, %s or something similar beginning with '%',
these are format specifications. FileZilla exchanges them during runtime with
their final values. They have to appear withing the translated
resources or FileZilla may crash when using the translated resources. %d is a
placeholder for a number, %s for a string.
It is also important to keep them in order, so don't switch them around.
Dialogs:
Expand the dialogs node and doubleclick the first entry. On the right the dialog should be visible now. Doubleclick any english text on the dialog to open the properties page where you can translate it. You don't have to translate text between < and >. Do this for all dialogs. If some text does not fit into a control, you may resize the control.
Special treatment is required for the combo boxes in the dialogs with the ID IDD_SITEMANAGER, IDD_MANUAL_TRANSFER, IDD_OPTIONS_LOCALVIEW and IDD_OPTIONS_REMOTEVIEW: Doubleclick the combo boxes and go to the data tab, there are some lines for each combo box, please translate them, too.
There's one important thing for the IDD_ABOUTBOX dialog. Please change <your
name> and
<your email> in the string at the botton with your name and email.
Menus:
Doubleclick a menu entry to open it's properties page. Here you have to translate the title and if available, the statusbar text.
String table:
doubleclick each string and translate it.
Testing your resources:
You may at any time compile the resources to test them with FileZilla by pressing F7. Copy the resulting dll from the release folder into the same folder as FileZilla and select your language from the settings dialog of FileZilla.
What to do if you've finished the translation
When you have finished translation, please send me all source files back. The new language DLLs will be included in the next official release of FileZilla.