Vaadin portlet dynamic language change


I have an Vaadin portlet wich supports “Multilanguage” that means if an user selects for e.g DE in the liferay portal he will get the German translation of some portlets and if he select another language the portlet will be translated to the selected language. there is a problem, the user can translate the portlet only one time , if he selects another language, the portlet keeps the translated strings of the previous language , and the portlet keeps the old language till the portlets init method is reloaded. is there a way to dynamicaly change the language of the portlets components without losing the curret users state(modifications) ?

Have you had a look at

Its idea is that you have a separate updateLabels() method which is used to change the captions on the fly. See the example for the addon for more detail.