Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale passed in as parameter in args is now taken into account when rendering. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ithena
Copy link

@ithena ithena commented Apr 1, 2012

The XhtmlDocumentService never allowed the locale in the request used by RenderEnvironment to be overridden with a custom locale. This patch will enable to Locale to be used for rendering to be overridden by the locale argument.

The test in PdfRenderingServiceSpec feels clunky, any suggestions on making it better are welcome.

@goeh
Copy link

goeh commented Jan 9, 2013

I'm rendering PDF in an event listener (platform-core) and it uses the default locale. I want it to render with a fixed locale. Is this pull request the only way to set locale or is there a current way of doing it?
If not then please apply this pull request. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants