Development - Translate FreeBar
Introduction
Since FreeBar 0.9.2 the Translations are stored in separate Files and not in the Program anymore.
Therefore it is quite easy to translate FreeBar to other languages.
Translating the Program
When you downloaded the FreeBar Source Files with SVN, the Translation Files are located in the Folder Languages.
In FreeBar 0.9.2 these are only two Files: de.fblng for the German Translation and en-us.fblng for the US English one.
Now make a copy of one of the original Files and rename it. For example, if you want to translate the Program from English to French, make a copy of the File en-us.fblng and rename it to fr.fblng.
Then open the File with a Text Editor. It is separated into two Sections: [General] and [Translations].
The Section [General] contains information about the Author and the Language of the Translation. Enter the appropriate information here. Additionally, it sets the FreeBar Version, for which this Translation has been created. You should not change this setting.
Finally, the Section [Translations] contains all Translations. Replace all entries of the former Language with new entries. For example, the entry BTN_CANCEL="&Cancel" will become to BTN_CANCEL="&Annuler" in French.
Translating the Help file
The Source Files of the Help file are in Sub-Folders of the Folder Helpfile.
To translate the Help file to another Language, make a copy of the original Folder and rename it. Use the same Language abbreviation you used for translating the Program, e.g. fr for French.
Then translate all HTML Files in the Sub-Folder files of the Language Help File Folder. The Picture Files in the Sub-Folder images do not need to be translated.
To translate the Table of Contents and the Index, you also need the Program HTML Help Workshop. After the Installation of the Program, you can open the HHP File.
In this Program, switch to the Tab Contents to edit the Table of Contents. Click on an entry and then on the Button Edit selection on the left. A window will be opened, in which you can translate the entry. Do this for all other entries of the Table of Contents. Also do this for the Index entries in the Tab Index.
At the end, save all changes with File → Save Project.
Send the Translation
When you translated all entries, you can send me your translation, so I can integrate it into the next FreeBar version.
To do so, create a ZIP File with the changed Files and send them to me by E-Mail.