on ‎2005 Mar 31 5:14 PM
Hey Guys,
Is there a way in the url into the portal to pass the language as a parameter in the url?
like: http://server/irj/index.html?language=en
or something?
Thanks,
-Kevin
Request clarification before answering.
Hi Kevin,
Yes there is a way to do it.
After going through lines of codes and number of files I traced it down and found it.
So if you want to access a language specifict Portal logon page you can simply add
?ume.logon.locale=LanguageCode
after the portal logon page URL; e.g. a Spanish portal logon page will be:
http://<host:port>/irj/portal?ume.logon.locale=es
It can even be more specific e.g.
Mexican Spanish is es_MX or US English en_US
The portal also gives us the option to add new property language files for languages that are currently not supported by SAP EP6.
the file name is language_xx.property. there is a documentation on this in sdn area. search for customising the Logon page.
Haik
If this post helps please dont forget to grant me some Forum point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I tried to logon anonymously with the following url: http://sid.domain.com/irj/portal/anonymous?ume.logon.locale=en_us
But the portal still show me the browser language and not English.
Any idée?
Regards
Mikael
Hi Mikael,
What you can do is create an anonymous named user for each language you want to expose, set the locale for each user appropriately, and then create URL for each.
For example:
http://server:port/irj/portal/anonymous?j_user=DE
I'm not positive whether the URL parameter is j_user or guest_user, but one should work.
For more information, see http://help.sap.com/saphelp_nw04s/helpdata/en/1e/e19f58136e654d9709befa464314f2/frameset.htm. The documentation says your scenario is a typical use case for this feature.
Hope this helps.
Daniel
Hi again,
Now I got it working nearly perfect.
http://server:port/irj/portal/anonymous?j_user=DE is working but when I start to click in the menu it gives me my browser language.
Any ides?
/Mikael
I have now apply the fix from the note but I still have some problem...
Maybe I have to wait for SPS16...
Check out our portal at http://www.emtab.com
The iViews is BSPs witch also change back to browser language after click on an other link in the manu.
/Mikael
Hi Mikael,
I think there is something not set up correctly on your portal.
Even with the problem described in the SAP Note, your portal should work with the correct language on the first page (you should see the masthead in german).
The bug that is described only affects subsequent navigation -- basically, because navigation links do not automatically include the j_user parameter.
Are you sure the portalDE user is in the Anonymous Users group?
Daniel
P.S.: Please consider awarding points if any of the above was helpful. Thanks.
Hi Daniel,
Need your help on this one.
I have followed the steps in the help.sap.com link given above in configuring bi-lingual portal (English/German) for anonymous access. I am implementing a light-framework external facing portal. EP7 on WAS 7.0
I am facing this bug that you have mentioned:
My iview on the default page assigned to the first role gets the new language based on the j_user parameter I specify in the URL. But subsequently when I click on other pages within that role or across roles too, the j_user parameter is lost from the URL and it does not get the appropriate resource bundle.
Any idea if this is fixed.
If not is there a work around or so?
Awaiting your help.
Thanks in advance.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.