cancel
Showing results for 
Search instead for 
Did you mean: 

Chinese language support in Webdynpro

Former Member
0 Kudos

Hello Everybody,

I want to enable my webdynpro application for Chinese and thai language.

I followed the tutorial available on SDN. I have created resource files and messasge pool.

But, at the time of editing these resource files, how can I specify chinese text corresponding to hte english text?

One more question: Is there any mechanism by which we can check in code whether application is loaded for English, chinese or Thai language?

Waiting for replies.

Thanks in advance.

Bhavik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Bhavik,

Second question is easy one:


final Locale locale = WDResourceHandler.getCurrentSessionLocale ( );
final String lang = locale.getLanguage();

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Bhavik,

Could you please share how you fixed your issue. We I try coping the chinese text in S2X editor, it shows up as boxes. How did u fix it?

Thanks

MLS

Former Member
0 Kudos

Hi Bhavik,

I think webdynpro does provide support for chinese and thai languages ...u can see that in the S2X editor. For displaying application specific to a language specify the language(locale) as a query parameter.

Refer this tutorial:

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/35f1e990-0201-0010-7a86-914036942779

Regards,

Bhavana

Former Member
0 Kudos

HI Bhavana,

I have done all things as per the tutorial. But, how to specify chinese characters in resource file?

As per Tutorial, You have to specify language specific texts in resource file. For Chinese, How can I specify in resource files. When I tried, It appeared as boxes..

I cannot see chinese charracters on the browser.

Regards,

Bhavik