cancel
Showing results for 
Search instead for 
Did you mean: 

EP 6.0 - Setting preferred language before login

Former Member
0 Kudos

Hello,

We are currently looking at ways of allowing user to set their user language before logging in. On the logon page we want to provide a select box where user can select their default language. The user would enter the username, password, language and click logon button. Upon

logon the Portal content will be displayed in the language selected. I looked in the logon component 'com.sap.portal.runtime.logon.par' on the logon page and there a portion of the code that checks if UME

property 'ume.logon.locale' is set to TRUE and if that is the case it displays the language select. I've modified the UME property file '\usr\sap\J2EE\j2ee\j2ee_00\ume\sapum.properties' and everything displays correctly however upon logon the content language does not get set to the specified language. Can you tell me what I am doing wrong? Am I missing anything and is this possible?

<%

if( UMFactory.getProperties().getBoolean("ume.logon.locale",

false) ) {

%>

<tr>

<td width="200" height="20">

<label class="urLblStd" for="preferredlanguage">

<nobr><%=logonLocale.get("LANGUAGE")%></nobr>

</label>

</td>

<td >

<select id="ume.logon.locale"

name="ume.logon.locale"

class="urDdlWhl" size=1>

<option value="en">English</option>

<option value="fr"><%=EncodeHtmlTag.encode

("Fran\u00E7ais")%></option>

</select>

</td>

</tr>

<%

}

%>

Thanks in advance,

Rabih

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rabih,

I'm having the same problem... Did you find a way to get this parameter working ?

Thanks & regards