GWT Dynamic Locale

后端 未结 3 993
清歌不尽
清歌不尽 2021-01-03 11:55

I want to set gwt-locale taking user chosen locale with the help of Spring LocaleContextHolder.

public static final String getCurre         


        
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-03 12:34

    Thomas Broyer's answer is correct, except one thing. You don't mandatory need to use "dynamic host page", meta tag can be defined dynamically on the client side:

    
    

    This way any additional modifications can be done on the client side before GWT app starts.

提交回复
热议问题