cancel
Showing results for 
Search instead for 
Did you mean: 

Language settings based on user selection

Former Member
0 Kudos

I need to display the labels and other visible texts of my WD app based on the language choosen by the user at the time of accessing the app.

In the index page of the app,the user is supposed to choose a language (out of two,say english and German).Depending on what he chooses,the labels of the next screen will appear in that language.

Can anybody tell how to do this.?How to make my app read the particular .xlf file depending on the user selection?

regds,

Bhupesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

bhupesh,

AFAIK it is not possible.

Also it is not possible to change locale of client application on the fly.

The only way is to restart client application via exiting current one (by exit plug) with current URL plus additional parameter: sap-locale=DE or sap-locale=RU etc

VS

Former Member
0 Kudos

Thanx Valery for the reply.

In that case,the only option one has is to map the 'text' property of elements to a context atttibute which can be set as per the user's language choices.

It is okay if the user has to choose only one out of two languages.If it's more than that,then one may end of doing a lot of coding just to change the labels/texts in the screen

Any other suggestions?