I do no speak Russian, so in this example I use
PoEdit in English... so before all things, install PoEdit.
-1 Create in
c:\ a folder named "
catalog" (this file will contain the memory translation files)
-2 Put in a different folder (folder named "
HFS Translated" in this example) the
HFS executable file (it is with this executable that you will be able to test your translation)
note : the
HFS executable has to be decompressed with
UPX for this utilization
-3 Create in "
HFS Translated" folder the following tree: l
ocale\ru\LC_MESSAGES-4 Put in the dossier "
LC_MESSAGES" the file "
default.pot" that you will find in the
HFS SSL FR sources and rename it : "
default.po"
-5 Open the file "
HFS Translated\locale\ru\LC_MESSAGES\default.po" in
PoEditMenu
File >
Preferences...Fill the content the "
Personalize" tab ; in tab "
Translation Memory", put in the field Path to DB:
C:\catalogClick on "
Add", add "
ru (Russian)"
Click on "
Generate database"
In the window that opens, click on
"browse" and search path to folder "
locale" : "
HFS Translated\locale" in our example.
Then click on "
Next"; when files have been found,click on "Finish".
Leave as they are tabs Editor and Parser, and click on "
OK"
After that Menu "
Catalog" >
Settings... > Fill in the fields for tab "
Project info" (leave field "
Source code charset" empty)
In field "
Plural Forms" put the following code for russian language:
nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);Then you can start translating
HFS.
Remember to click on icon: "
Save catalog" from time to time.
--------------------------------------------------------------
Right click on your HFS.exe > "
Embed translations" to include your translation in hfs, in order to test it.
--------------------------------------------------------------
To update your translation when
HFS SSL FR is updated :
Open your "
default.po" file in
Poedit > menu
Catalog >
Update from pot file > find the "
default.pot" file included in the
sources.
Translate the newly-found strings > save the catalog.
Send your (
.po and
.mo files) translations to me, if you want them to be included in the next
HFS SSL FR version.
Voila, I hope I have not forgotten anything.