cancel
Showing results for 
Search instead for 
Did you mean: 

Create new portal language

Former Member
0 Kudos

Hi,

I need to include a new language not supported in EP6. Is there any simple way of doing this?

I know that created pages, roles, worksets, iViews and other objects can be translated. But what about Standard and developed components, where the translations are localized in resourcebundles?

And how are the new language included in EP6?

Thanks and regards,

Paul

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Gaurav,

I am trying to display hindi fonts in my iViews...

I have successfully done it for french using Design time translation...i.e for the view i created a file ViewName.wdview_fr.xlf.In language editor in NWDS i selected French as the language and in resource text gave the french translations.

Now in order to do the same for hindi after creation of ViewName.wdview_hi.xlf i do not get an option HINDi in drop down list in language editor.

What should be done so dat i get an option hindi and i can select it.

Please suggest...

Former Member
0 Kudos

Hi Biju,

You have a good question. This was one of the major problem i faced while developement. You see that the languages are not supported by NWDS. Thanks to SAP, they said they cannot do anything in OSS.

So here is the crude solution:

When you compile and build your code in NWDS, you get an EAR file. Before deploying, open the EAR file in winRAR and there u will find a app.jar. In this JAR file, all the translations are present. You will have to add the hindi properties file here with proper extension.

After adding pack everything back properly. and deploy the ear file.

It might happen that while unpacking or packing the ear file gets corrupted and u are not able to changethe app.jar.

In that case, open the ear file and extract the app.jar.

Modify the app.jar and then copy the modified app.jar directly on server where the ear gets deployed.

Hope this helps,

Gaurav Gandhi

Former Member
0 Kudos

Hello Gaurav,

It would be better if you can just tell me the list/steps say i want to add a new language HINDI in portal.I want that while creating iviews or other objects everytihng shud b displayed in HINDI. For that right from how do we include the fonts and other things required to support a new language has to be done?

Former Member
0 Kudos

Hi Neil,

Displaying everything in Portal in HINDI cannot be done by the simple steps mentioned above.

Let me explain u:

1) First of all you will have to follow the two steps mentioned previously:

- http://help.sap.com/saphelp_nw04/helpdata/en/49/e607426338da6fe10000000a1550b0/frameset.htm.

- com.sap.portal.admin.wizardframework.par.bak is of help for u. Download this PAR from support. open it in eclipse. In the project structure -> open com.sap.portal.admin.wizardframework -> dist -> PORTAL-INF -> config

- Open availableLocales.properties.Go-to the last line in the file (which should be having text zh_TW). Press enter after zh_TW and type in the language key in the new line (e.g ms for Malay). Each new language entry must be done in a new line.

- Save the file. Rebuild the project. & deploy the PAR file. Dont forget to take the backup of the original file.

2) After the two steps above, you will be able to see the newly added language at various places in portal dropdowns where you can select the new language & save it.

3) Now comes the real part. Doing all these things will not ensure that you will be able to see the contents in new language. For seeing any content of portal in any language, it is necessary to have the proper resourcebundles present in portal. So if you want to create an iView which has to be built on a PAR file made by you, then add the resourcebundles of Hindi in your PAR file & create an iView on it. Then change the language of Portal & your iView will show up in Hindi. Be aware that none of the standard SAP objects will show up in the new language unless you have by some way modified & created resourcebundles in the SAP PAR file.

Hope this helps you..

Thanks,

Gaurav

Former Member
0 Kudos

Hi,

Refer this link for localization to add new language support

http://help.sap.com/saphelp_nw04/helpdata/en/98/77174082fe1961e10000000a155106/frameset.htm

Former Member
0 Kudos

Hi Paul

I am facing the same problem and would also like to know how can we support totally new language for portal?

Former Member
0 Kudos

Hello,

First you need to create a file named 'localization.properties' in the folder 'PORTAL-INF/private/classes'. In this file you place identifiers as follows : <IDENTIFIER> = <some text> and then you can access those strings from your code as found on <a href="http://help.sap.com/saphelp_nw04/helpdata/en/62/8b1d40bb37e569e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/62/8b1d40bb37e569e10000000a155106/frameset.htm</a>

You only need to create this property file manually for the default language of the portal component.

Next you deploy your par in the portal and need to make a translation worklist based on this portal component. Look at following link how to proceed from here : <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d4/be1640033ae569e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/d4/be1640033ae569e10000000a155106/frameset.htm</a>

Hope this helps

Greetz

Christophe

Former Member
0 Kudos

Hi,

Thanks for the answers, but what i want, is not, how to make a determined component available in other languages supported by the portal, but include an entire new portal language.

I need to include a totaly new language, that should be available when:

- creating new users;

- PCD Objects (Roles, Worksets, iViews);

- Available in translation tool;

- recognized by all the components;

Fo example: Language - Basque [eu], available in IE language settings, but not available in portal.

Creating a new localization_eu.properties, is not enough, unless, when creating users, the language Basque is also available, and the same for PCD objects, components adn translation tool.

Thanks and regards,

Paul

Former Member
0 Kudos

Hi Paul,

The requirements mentioned by you to include new language in the various dropdowns in portal cannot be achieved in single step. Some of the solutions are as follows:

1) For 'recognized by all the components' -> Refer the link http://help.sap.com/saphelp_nw04/helpdata/en/49/e607426338da6fe10000000a1550b0/frameset.htm.

This will introduce a new language in portal. Then you select the newly entered language in your personalization, say Basque - eu. this "eu" will be passed everywhere (backend, portal etc) but the content will change depending upon the resourcebundle available. So if you create your own content (PAR etc), then you can add the resource bundle for "eu" and it will work. <b>This change will also affect the user creation screen.</b>

2) For Translation tool etc:

- <i>com.sap.portal.admin.wizardframework.par.bak</i> is of help for u. Download this PAR from support. open it in eclipse. In the project structure -> open <i>com.sap.portal.admin.wizardframework -> dist -> PORTAL-INF -> config</i>

- Open <i>availableLocales.properties</i>.Go-to the last line in the file (which should be having text zh_TW). Press enter after zh_TW and type in the language key in the new line (e.g ms for Malay). Each new language entry must be done in a new line.

- Save the file. Rebuild the project. & deploy the PAR file. Dont forget to take the backup of the original file.

Now the above change will add the new language in Translation tool, iView editor -> forced language or logon language property etc.

I hope this will solve most of your problems so award points for 'solved problems'

Regards

Gaurav Gandhi

Former Member
0 Kudos

Hi Gaurav,

We are in the process of adding (installing) a new language in Enterprise Portal. For this we are in the process of contacting SAP for their help in doing so. This is because it is mentioned in Note 920085.

However I just wanted to know if you or anybody tried this out of customizing the set of available languages given in http://help.sap.com/saphelp_nw04/helpdata/en/49/e607426338da6fe10000000a1550b0/frameset.htm

I had tried it a few days ago with no success. I created a new properties file for the new language with all the entries in it. I had also modified the properties file of English to include the new language at the bottom. And then I uploaded both of them from config tool. But I could not see the newly added language in personalize.

It seems this help is only for removing languages from the set and NOT ADDING new ones. Is it so?

Can you or anyone else tell me your experience in implementing this?

Thanks.

Former Member
0 Kudos

Hi! Paul,

I would like to know whether you managed to add Basque language to the portal.

Ramesh