cancel
Showing results for 
Search instead for 
Did you mean: 

Change Language

Former Member
0 Kudos

Can anyone please help me with the code for retieving langauge of the current sesiion and then how to chnage the current language into the target Language ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Mattias
Active Participant
0 Kudos

Hi,

To get the current session locale you can use

Locale sessionLocale = WDResourceHandler.getCurrentSessionLocale();  

What do you mean by change the current language, do you want to change the language of just the current sessions, or for the user?

Regards

Mattias

Former Member
0 Kudos

Hi Rahul,

Try the following code:


WDClientUser.getLoggedInClientUser().getLocale();	

Regards

Amit

Former Member
0 Kudos

Hi,

Do the following application u will know how to convert 1 language to other language..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20jav...

http://help.sap.com/saphelp_nw70/helpdata/en/21/9499f2f50ca44a85e9611f14fbdc21/frameset.htm

Blogs,

/people/prashant.patalay/blog/2006/12/20/internationalization--i18n-of-webdynpro-java-application

Check the following threads also,

Former Member
0 Kudos

Hi Rahul,

I have some material for this.. Can u give ur mail id.. i will send to tht...

Urs GS