cancel
Showing results for 
Search instead for 
Did you mean: 

Change WebDynpro Project Language

S0019300750
Contributor
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is impossible to change default project language after creation..while creating the project itself u have to change the language...

Check the below threads,explained clearly....

Answers (2)

Answers (2)

Former Member
0 Kudos

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

former_member186016
Active Contributor
0 Kudos

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