on 06-12-2007 8:47 AM
Dear All
Could you please tell me how change the language of the Web Dynpro project which is already developed ?
We have some date inputs in the views which accepts date in MM-DD-YYYY format because current language is American English.
We want to change it to British English so that date format changes to
DD-MM-YYYY.
Changing language in Browser didnt help.
Thanks for ur time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Date d = wdContext.currentContextElement().getDate();
SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy");
Date reqDate= sdf.format(d);
(OR)
That depends on your browser setting. In your IE change the language preferences from English-Us to English-UK and you will get the date in the format you require. Apart from that it does not work.
Try these they may work.
Award points if Helpful
Regards
SURYA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One cannot change the language for an existing Web Dynpro project.
Workaround:
- Create new Web Dynpro project.
- Copy the src/packages from old project to new project.
The geneartion will now generate text according new project language.
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.