我正在研究具有本地化的
Eclipse RCP应用程序.用户应该能够动态更改应用程序中使用的语言.在此语言切换期间不应重新启动应用程序.还应该可以在从左到右书写的语言和从右到左书写的语言之间切换.
@H_404_2@是否有(好的)方法来解决这个问题?
解决方法
根据
this thread:
Most of the eclipse libraries load up their language info on widget creation. If you change your locale afterwards you need to restart eclipse to have it take effect.
You could write that kind of dynamic behavIoUr into your own SWT program,however (when the locale switches,you’d need to call
setText(*)
on everything 原文链接:https://www.f2er.com/java/128901.html