Project file defines dir with translations, templates, glossary filename and list of webquery scripts. All paths contained in it are relative.

Project file defines dir with translations, templates, glossary filename and list of webquery scripts. All paths contained in it are relative.

Whenever KAider opens file and there is no project loaded, it will search for project file in file parent directories (up to 4).

Whenever KAider opens file and there is no project loaded, it will search for project file in file parent directories (up to 4).

+

+

===Operations on multiple files===

+

Currently Kaider supports only searching in multiple files.

+

Select items you are interested in, choose "find in files" from context menu.

+

The first match will be displayed in usual KAider window. Proceed with F3 (find next). If you press F3 and there are no matches left in the current file, the search will continue in the next file and so on.

Revision as of 04:49, 19 August 2007

Contents

New Translator's Intro

When you start KAider with no arguments, you see two big multiline edits and a bunch of 'views'. They can be stacked (like tabs), shown separately or be hidden at all.

Translation file consists of many pairs english-target strings (these pair are called 'messages'). They correspond to one separate string in user interface or one paragraph in documentation. KDE uses gettext .po file format.

The purpose of first multiline edit is to display original part of the pair.
The purpose of second multiline edit is to display translation.

You can navigate through 'messages' via Catalog Tree view or using PgDown and PgUp. By the way. It is important that you get used to using keyboard instead of menu and toolbars, because this will increase you productivity. For example, use Alt+<underscored letter> to switch between views when they are stacked into tabs, or Alt+Q to imitate pressing of 'Query' butten when WebQueries view is open.

Project history

I've started the project in January when my exams have finished and worked heavily on it almost two weeks.
During this time I incorporated kbabel code dealing with translation file representation, parsing and saving (improving, refactoring, cleaning and fixing it along the way).
I enjoyed using KTextEdit, QUndoStack and KFind for implementing basic editing functions.

Then I had to stop developing it in favor of university and real life :)

My summer exams have finished on 20 of June and I have been back on the project again for full-time since then.

Original Diff

I began with nice support for data generated with msgmerge --previous option.
When, during the merge (after change/update of material being translated), slightly changed 'original' string is encountered, gettext uses old translation, but marks it as 'fuzzy'.
If the option is specified, it also saves previous string in comment field.

So when KAider encounters this previous string in the translations (.po) file,
it displays word-by-word difference betwen old and new strings.
This enables translator to easily see what has changed and make the appropriate change in the translation.

Project View

I've implemented basic framework for translation projects.
Currently it displays file tree with statistics like percentage of translated messages and last translator.
It allows to open selected file in the current or in the new KAider window
(tip: use middle mouse button to open file in new window).

Project file defines dir with translations, templates, glossary filename and list of webquery scripts. All paths contained in it are relative.
Whenever KAider opens file and there is no project loaded, it will search for project file in file parent directories (up to 4).

Operations on multiple files

Currently Kaider supports only searching in multiple files.
Select items you are interested in, choose "find in files" from context menu.
The first match will be displayed in usual KAider window. Proceed with F3 (find next). If you press F3 and there are no matches left in the current file, the search will continue in the next file and so on.
Ctrl+F in KAider editor window resets multiple files searching state.

Merge Mode

It is one of things that are easy to implement but save tremendous amount of time for editors, particularly when two translators were working simultaneously on the same file.