List Info

Thread: Problem with i18n and pdf




Problem with i18n and pdf
user name
2007-10-04 07:15:24
Hi,

    I don't know how to translate the hard coded strings in
the
dispatcher fo generation.
    I tried to translate "Table of Content" by
adding a translation in
the
org.apache.forrest.plugin.internal.dispatcher/resources/styl
esheets/common/translations/CommonMessages_<lang>.xml

    But it does not work...

    An idea ?
-- 
Salutations,
Cyriaque,



Re: Problem with i18n and pdf
user name
2007-10-08 03:03:55
le 08/10/2007 08:58 Sjur Moshagen a écrit :
> Hi,
>
> Den 4. okt. 2007 kl. 15.15 skrev Cyriaque Dupoirieux:
>
>> Hi,
>>
>>     I don't know how to translate the hard coded
strings in the
>> dispatcher fo generation.
>>     I tried to translate "Table of
Content" by adding a translation in
>> the
>>
org.apache.forrest.plugin.internal.dispatcher/resources/styl
esheets/common/translations/CommonMessages_<lang>.xml
>>
>>
>>     But it does not work...
>>
>>     An idea ?
>
> Yes, I have had it working for some time, but had
forgot to commit it.
> Unfortunately, when i svn-up-ed before commiting the
change, the pdf
> generation broke completely:
>
> Internal Server Error
> ...
> cause
> master-reference 'book' for fo:page-sequence matches
no
> simple-page-master or page-sequence-master
Ho ? I have the same problem with one of my numerous files
and am
currently also looking at this problem.
If I understand what's my problem, I tell you.

Salutations,
Cyriaque,

>
> I have to solve that one first.
>
> But back to the idea about the original problem:
>
> The issue is caused by there being no i18n processing
defined in:
>
>
plugins/org.apache.forrest.plugin.output.pdf/output.xmap
>
> Adding i18n to that file should solve it. I will commit
the required
> modifications as soon as I get pdf working here again
(I would like to
> verify that it works with HEAD before commiting - I
haven't updated my
> svn in quite some time).
>
> Best regards,
> Sjur
>
>
>


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )