How to change the language related to the current language on the application. for example if I change it to fr the widget should be also on fr and same for english?