RFC: Translating Wine's dialogs with PO files

Francois Gouget fgouget at free.fr
Mon Sep 12 13:41:11 CDT 2011


On Mon, 12 Sep 2011, Michael Stefaniuc wrote:
[...]
> > Like option 2 it requires that every control of a given dialog have a 
> > unique id. Then for each of them we would create PO file entries of 
> > the form:
> > 
> >    msgctxt "<rc-filename>:<dialog-id>:<control-id>"
> >    msgid "<x>:<y>:<width>:<height>"
> >    msgstr ""
> You wouldn't need a special PO file. You could put that info into a
> comment of the respective entry to translate using the "#." comment.
[...]
> This would avoid separate files, unique IDs for all the entries and
> would be visible to the translator.

This would be pretty tricky for a button like 'OK' which appears in a 
great many dialogs, each time in a different position. Also even if it 
is in the same position in two English dialogs, once translated it may 
need to be in different positions (due to other controls being resized). 
So that brings back the need for uniquely identifying a given control.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                      Computers are like airconditioners
                They stop working properly if you open WINDOWS



More information about the wine-devel mailing list