Complex sentences in translations

Andreas support at raumgeometrie.de
Thu Mar 27 23:43:36 PDT 2008



Hi,

in my application I have constructions like that:

wxMessageBox(_("The thing ")+NameA+_("refers to ")+NameB );

In some languages it might be necessary to change the order of A and
B, which is, of course, impossible the way I programmed this.

Is there a standard way of how to achieve this, like

wxString(_("The think %1 refers to %2"), NameA, NameB) ), where %1 and
%2 are automatically replaced in the constructor?

Regards,

Andreas




More information about the wx-users mailing list