As far as I know there is no direct way to tell Struts to use another session attribute for using the locale. And even if Struts could do this, you'd need to implement a mapping between your custom integer and a "real" Locale
object.
My suggestions:
- Implement your own
javax.servlet.http.HttpSessionAttributeListener
which syncs the LANGUAGE attribute to the corresponding Struts locale attribute - Or change the code where you set your LANGUAGE attribute to also set the Struts session attribute