[
https://issues.apache.org/jira/browse/WW-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751108#comment-13751108
]
Tom Briers commented on WW-4179:
--------------------------------
Thank you very much for your response. I used the extension point to override
the DefaultLocaleProvider with the implementation above and now I have the
error messages in the correct language.
> Error messages from JakartaMultiPartRequest are not in the correct language
> ---------------------------------------------------------------------------
>
> Key: WW-4179
> URL: https://issues.apache.org/jira/browse/WW-4179
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.3.15.1
> Reporter: Tom Briers
> Fix For: 2.3.17
>
>
> When we upload a file that exceeds the {{struts.multipart.maxSize}} we don't
> get the message in the correct language.
> This seems to be due to the fact that the interceptors are executed after the
> parse method (including i18n) meaning the correct locale is not yet available.
> Is there a way to fix this or to get around this limitation?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira