Skip to Content
Former Member
Oct 11, 2006 at 04:06 PM

Change Locale


Hi all,

is it possible to change the locale of an WebDynPro applicatin after it was loaded?

What I want is something like a dropdown-box with available locales, the user can then select one and the webdynpro gets reloaded. After that reload the whole application should be in the new language.

I translated the needed .xlf-files and everything works more or less fine via the browser-based language setting (Accept-Language header) at least after i close all browser windows. Same goes for the "sap-locale" URL-parameter, I need to close all browser windows.

There seems to be no possibility to change the language "on-the-fly" after a webdynpro application is loaded, am I right? I only found one single setLanguage()-function in IWDJCOClientConnection but I dont know how this could help me...

Thanks and regards,