Georg Baum wrote:
Georg Baum wrote:
Abdelrazak Younes wrote:
I seem to remember from previous discussions that user-defined layout
command are not allowed any more.
Wrong. That would mean that nobody could create custom layouts in
~/.lib/layouts. There is no reason to forbid that.
Now I see that I overread 'command'. What you mean are style names, but what
is translated here are static labels.
Yes, that's what I meant. The problem is that I don't know what's there
to translate. In a koma-script or article layout, here is what
layout->labelstring() gives inside 'expandLabel()':
raw fmt: \arabic{chapter}.\arabic{section}
raw fmt: @[EMAIL PROTECTED]
Am I right here that there is nothing to translate?
For the 'report' layout' we can have something like this:
raw fmt: Chapter \arabic{chapter}
raw fmt: \arabic{chapter}.\arabic{section}
Here, is it right that the only translatable part is the word "Chapter"?
If yes, wouldn't it be possible to translate that word once and for all
at layout loading? Then we could avoid translateLabel() altogether.
Abdel.