On Tuesday 02 April 2002 7:30 pm, Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] writes: > | Hello, > | > | I am trying to translate the menus of LyX 1.2.0 and the menu > | Insert->Lists&TOC is not translatable in a satisfactory way : > | to be displayed it seems to call FloatListInsert in src/MenuBackend.C > | which concatenates the name of the float with " List". > | > | But if you translate into French for example, you need to have it the > | other way : "Liste des " before the name of the float. (It shouldn't be > | the only language) > | > | I have a similar problem with "Wide " + name of float : > | the float names do not have all the same gender, and the translation > | for "Wide " must vary accordingly ("Grand "/"Grande "). > | > | Maybe it spares a little duplication of code, but the translations will > | be awful in some languages. > > The problem here is that the number of float types are dynamic, so > currently a "floatname + ' List'" is done. I see that this needs > changing to enable better translations, but do not expect that to > happen for 1.2.0.
Would it not be possible to have a translatable string "$$floatname List" and to then substitute for $$floatname after the translation has been performed. Just a thought. Angus