A patch from  Sebastian Leitner  for "Anonymous customer looses locale on order" https://issues.apache.org/jira/browse/OFBIZ-5666

If an anonymous customer changes his/her locale (/control/setSessionLocale) and then places an order in an ecommerce-application, the event ShoppingCartEvents.clearCart(HttpServletRequest, HttpServletResponse) invalidates the session and creates a new one. Due to that the previous locale-switch is lost and is set back to browser- or server-default.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605354 13f79535-47bb-0310-9956-ffa450edef68