cancel
Showing results for 
Search instead for 
Did you mean: 

Regards: Add a new language (Hindi} In portal

Former Member
0 Kudos

HIIII..

I want add Hindi Language In portal. Is this Possible??

If Yes Pls anyone can provide Some usefull links or Procedure.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

We can add the language Hindi for the portal. the prerequisties for this are that Hindi has to be matiantied in the list of portal Language transalations list.

we need to find the respective translation file for the Hindi in the portal transalation list.

If you are developing applications in WD for Java or ABAP then we need to explicaitly matiantin those files in .XLF file format.

In the WD for Java, we need to fine this XLF file for Hindi in the EP pperspective then copy it and change the Source language to HINDI in this copied file.

We can find these in the S2X editor in Java for these settings where we can maitnain lables and other related text in the Hindi.

change the broswer language to Hindi and run the Application.

From the portal we need to do this way -

Content Admin->Portal Content Transalation-> where we can have translations for the PCD objects and we need to maintian the text.

Regards

Lekha

Former Member
0 Kudos

hiii Friends.

Could u please explain in details or step y step.

It is too tough for me to understand becoz i m new to portal.

What I want when user logon he see WELCOME USER in HINdi.

Now I dont know How to add a hindi keyword " SWAGAT" in portal.

Hope u have understood my problem.

Thanks in advance

0 Kudos

Hi,

Check this:

Regards,

Praveen Gudapati

Former Member
0 Kudos

hiii Praveen.

I have read this thread. I have also read the sap notes and succesfully restrict the number of language comes in the portal. But unable to understand How can we add hindi keywords.

Could u pls explain step by step it will much beneficial for me.

Thanks

0 Kudos

Hi,

In the thread I provided, Deep has done the same as what you are trying do.

So change the Masthead par and add the resource bundle files for Hindi (headeriView_nls_hi.properties).

You should ofcourse use use UTF8 encoding in headeriView_nls_hi.properties file.

Ex: WELCOME_CLAUSE=u0938u0941u0938u094Du0935u093Eu0917u0924u092E

To know how to get Masthead par and modify it, check these blogs or also search in sdn, you will find lots of infos.

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hii Praveen

Thanks for ur quick rply.

But I have one more problem , could u please tell me about UTF8 encoding .

How can we encode any word from one language to another.

0 Kudos

Hi,

To convert Hindi to UTF8, Check this:

Also tool like this may help (Did not try it myself):

http://www.chilkatsoft.com/CharsetStudio.asp

Regards,

Praveen Gudapati

Former Member
0 Kudos

Thank u very much Praveen ....

I Think U have almost solved my 90% problem. I am giving u full 10.

Still I have not apply u r solution But I have full faith on u .

Thanks Again.

If I would have any problem, I will revert back ..

Former Member
0 Kudos

Hii Praveen ..

I want to ask one more question , suppose for testing purpose i have changed in headeriview_nls_en.properties.

I have changed WELCOME_TEXT = Welcome to

WELCOME_TEXT = Welcome..... add jar file and when deployed it to server. It has been successfully deployed. But when I am creating a iview from par the changes r not reflecting.

I want to ask that am I miss any step?

or I will have to do some changes in jsp files or Portalapps.xml file.

( I just want to change Welcome administrator to Welcome... Administrator)

Hope U will understand my problem.

0 Kudos

Hi,

This is strange...

Open the par file you are deploying and check if the file headeriview_nls_en.properties has the changes you did.

If every thing okay, then redeploy and restart the server.

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hii Praveen .

Now I m little bit confused.

What I have done, I have make a Language_nls_hi properties by copying from Language_nls_en.proprties and in Language_nls_hi replace the Welcome_Text = Welcome with this encoding \u0938\u0941\u0938\u094D\u0935\u093E\u0917\u0924\u092E .

Add the jar and deploy it .

Anything I am missing???

Former Member
0 Kudos

Hii Praveen..

Thanks a lot .

I have added hindi keyword सुस्वागतम in Portal .

Last and final step is , I have to do some R&D on UTF8 encoding.

thanks..

Former Member
0 Kudos

Hi mayank,

Use this code u will get the unicode.

String unicode="गेर";

String unicodebyte=new String(unicode.getBytes("UTF8"),"UTF8");

char []a=unicodebyte.toCharArray();

for(int m=0;m

System.out.println("
u0"+Integer.toHexString(a[m]));

Refer this link :

Regards

Bala

Former Member
0 Kudos

Hii BALA ,,,,

Can U tell me in which editor i have to write this code. Suppose if I want to write this in Eclipse editor , is this possible to write a hindi String in Eclipse.

Pls can u describe in details.

Thanks

Rewards r waiting for u .

Former Member
0 Kudos

Hi,

copy some hindi text(not only hindi for any language u can do) and paste it in the code String unicode="गेर";

In Editor the hindi letter looks like boxes but when u excute, it will give the unicode.

I have done this in NetWeaverDeveloperStudio.

Regards

Bala

Answers (1)

Answers (1)

sureshmandalapu6
Active Contributor
0 Kudos

Hi Mayank Saxena,

You can add whatever the language you want to. but ! make sure the corresponding language tranlator should be there and after that you need to add the those corresponding language texts in the application.

When you are developing the new application in WebDynpro , that is called Internationalization ( I18N)

refer this link.

http://help.sap.com/erp2005_ehp_03/helpdata/EN/da/457542c0c6d242e10000000a1550b0/frameset.htm

If u want to translate the language which is already there in portal, you can go to translation feature.

Content Admin-> Content Translation ->Select the Worklist Translation -> Translate

refer this link

http://help.sap.com/erp2005_ehp_03/helpdata/EN/74/641640b7b6dd5fe10000000a155106/frameset.htm

Thanks

Suresh