Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > Mael Hilléreau <[EMAIL PROTECTED]> writes: > > > In addition, an old problem persists: list of algorithms ;-) ... > > translated into lyx window (labels), but not into output (latex > > float defs). > > Are you sure? It works here.
No, sorry, I was still using my '\listofXXX' patch... Without it, everything is OK. > > > That's because fl.name() and fl.listName() (in > > LaTeXFeatures::getFloatDefinitions) now return english names whatever the > > actual document language is. > > This is not what I see. This was referring to my patch. If you accept this patch (see below), do you have a clue on what to do in order to get names translated? (I've just seen your v2, not tried yet if it solves this; I'll have a look soon) > > BTW, what about applying my '\listofXXX' patch (attached file) after > > translation of labels is fixed? :) > > I will if you have an additional argument besides this bug :) 1. Convention: There's a sort of LaTeX convention with '\listXXXname' commands. Conventions are good :) 2. Translation: Babel translates names for standard lists (toc, lof, lot), but cannot be aware of every list one wishes to use. For the same reason, LyX neither (even though it is currently aware of loa while babel isn't...). 3. Customization: Customizing list names is already possible for other lists, so why shouldn't this be possible for algorithms and other non standard floats? 4. Reuse: The '\listXXXname' commands could be reused elsewhere for some other purpose (e.g. referencing...). 5. Same default behaviour: This is transparent for the user who doesn't need customization. Mael.