Hello, On Wed, Feb 24, 2010 at 02:35:41PM +0100, Michal Čihař wrote: > > I'd like to have translated addendums which would be added to every > translation but I don't want this text to be present in master document > (it would contain just translation and I want translators to be able to > change it in po file). > > It could be easily possible if there would be some nice way to translate > addendums - po4a would keep first line and translate rest as they are > (xhtml in my case).
For most formats, it should be possible to translate an addendum using the same module. An option could be added to ignore the first line of a file which would avoid translator and/or po4a to be annoyed by the addendum's header. (this issue could be solved also at this time by considering the header line as an addendum to be added to each translation of the addendum) The translation of the addendum (either using po4a-translate or a po4a config file) shall be done before its usage and it should use the -k 0 option to make sure its translation is always generated. Could you check if this work? I will keep the bug opened anyway in order to implement such "ignore the first x lines" of a file Best Regards, -- Nekral -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

