Pierre, you need to pass the user selected locale to the printing service as an additional parameter. And then if this printing service uses internally sendPrintFromScreen service, you have to put the additional locale to screenContext parameter of sendPrintFromScreen. The last change you will need is to modify sendPrintFromScreen, so it is not overriding the locale in screenContext with the user current locale.
HTH Bilgin On Wed, Jul 21, 2010 at 9:47 AM, Pierre Smits <[email protected]>wrote: > Hi all, > > In a form I set the language ( that is different to the locale of the user) > of a document, > > When generating a PDF I want to use that set language to display labels in > accordance with the setting and not the default locale. > > But I am at a loss how to achieve this. > > Do you know how to get the right label texts? And can you point me in the > right directions? > > Regards, > > Pierre >
