on 10-24-2005 8:45 AM
Hi,
I need some information on internationalization.
Let me explain the issue..
In my application I need both English and Arabic views. It is possible to Change the language through internationalization.
But one more issue is there for Arabic language. I hope u all know that Arabic letters are from right to left. So I have to change the Browser Language settings also to Arabic..
But in my application it should be handled by an event. If u click Arabic button, you should get Arabic browsers and if English you should get English Browsers.
Can anyone help me on this dynamic browser language setting?
Thanks
AD
hi Valery,
Thanks,
Ur answer was helpful.but i still have a problem.
I m in English screen and if i fire exit plug with the ar locale i m getting the same english screen
but if i use that URL in a new page i get the arabic version.
Pls advice me
AD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alex,
Did you follow Nibu`s instructions from here ?
final String locale = wdContext.currentContextElement().getLanguage_selection();
try
{
final String url = WDURLGenerator.getApplicationURL(
wdComponentAPI.getApplication().getDeployableObjectPart(),Collections.singletonMap("sap-locale", locale));
WDClientUser.forceLogoffClientUser(url);
}
catch (final WDURLException ex)
{
wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(ex), false);
}
Best regards, Maksim Rashchynski.
Thanks for ur help..
that really helped me to solve my issue..
Regards
AD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alex,
Sadly, it is impossible to change application locale on-the-fly. What you can do is exit your application to itself (fire exit plug with URL of currently running application), specifying locale via URL parameter <b>sap-locale=<locale></b>. Obviously, all current application state will be discarded.
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks For a quick reply.
But still I cant solve the Issue.
Your Advice is highly appreciated
Regards
AD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.