![]() | Auxiliary PO file |
Prev | Dictionaries | Next |
This searching mode is based on matching the same original English string (the msgid) translated in some other language in an auxillary PO file. It is very common for romanic languages to have similar words, similarly for anglosaxon and slavonic ones.
For example, say I wanted to translate the word “on”, from kdelibs.po, into Romanian but have no clue. I look in the same file for French and find “actif”, and in the Spanish one find “activado”. So, I conclude that the best one in Romanian will be “active”. KBabel automates this task. Currently you can define only one auxiliary file to search.
You can configure this searching mode by selecting Settings->Configure Dictionary->PO Auxiliary from the KBabel menu.
In the Configure Dictionary PO Auxiliary dialog you can select the path to the auxiliary PO file. To automate PO-file switching when you change current edited file there are many variables delimited by @ char that are replaced by appropriate values:
The name of application or package currently being translated. For example, it can expand to kbabel, kdelibs, konqueror and so on.
The language code. For example can expand to: de, ro, fr etc.
where “n” is a positive integer. This expands to the “n”-th folder counted from the filename (right to left).
The edit line displays the actual path to the auxiliary PO file. While it is best to use the provided variables in a path it is possible to choose an absolute, real path to an existing PO file. Let's take an example.
I'm Romanian and I have some knowledge about French language and I work on KDE translation.
First step is to download a very fresh kde-i18n-fr.tar.bz2 from the KDE FTP site or to use the CVS system to put on my hard-disk a French translation tree. I do this into /home/clau/cvs-cvs.kde.org/kde-i18n/fr.
My PO sources folder is in /home/clau/cvs-cvs.kde.org/kde-i18n/ro. Don't forget to select PO Auxiliary as the default dictionary and check Automatically start search on the Search tab from KBabel's Preferences dialog.
Prev | Home | Next |
Dictionaries | Up | PO compendium |