问题
I asked previously on how to implement Internationalization in struts-dojo (Struts Dojo Internationalization of values). The answer solved my problem but I have another problem.
I want to override the browser's language to my user's language. For exmaple, If my browser's language is Japanese but my user's language is English, the page should be displayed in English.
I tried overriding the browser's language by setting request_locale=en_US as parameter but the page language did not change.
Any solution to this problem would be much appreciated. Thank you.
来源:https://stackoverflow.com/questions/32452884/struts-dojo-internationalization-how-to-override-browsers-language