on 06-07-2005 2:52 PM
Hello,
I've created a DynPro application and set the Project language to: Hebrew.
Even though when I write this line:
wdComponentAPI.getMessageManager().reportSuccess(WDResourceHandler.getCurrentSessionLocale().toString());
I receive: "en_GB" which means English of course.
I assume this is the cause of many of my language problems at the Project.
At first I thought it is a browser issue so I changed it's main language to Hebrew but it didn't help.
Is there any way to change this using DynPro configuration/code?
Roy
hi Roy,
The first method sets it in the URL .. which has the top priority.. That shud do.. Maybe as a fallback u can specify language in application properties..(it is the default locale...)
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy,
Their is a particular priority it gives for the language specified ..The current session locale is picked from the one which is present and has the highest priority
Its in this order..
1.URL
2.User ID
3.Browser
4.Default Locale Property
5.WD system
6.VM Default
7.Final locale
regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is because the language you have specified in the .xlf file of your application
go to package explorer and
project name->bin->package name->wdp->*.xlf
there check the source language
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Roy
the problem is not with ur application language rather its the browser languge thats being shown.
you change ur browser language to Hebrew and check it out.
to change browser language:
Tools -> InternetOptions -> languages.
in that add "hebrew" and move it to the top.
close the browser window and run the application again.
this might help u.
regards,
Piyush.
Roy,
Given the fact that this is for test reasons only, please do the following:
1. Add sap-locale=<hebrew-locale-code> to URL of invoking aplication
2. Add sap-locale, <hebrew-locale-code> to marameters map of application to be invoked.
I'm not sure, but [2] probably unnecessary, while both applications will be part of the same user session.
For other readers: origins of discussion are here
VS
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.