Multi language portal
Hello All,
I have a requirement from our customer to create a custom WebCenter portal application (version PS3). He needs support for Hindi language as well.
Now, I am able to show hindi language for adf component labels/values using standard Java localization/resource bundle.
I have the following two queries
1) For the labels that are part of the "Portal Administration Console" such as "Create Page","Set Default Access" and "Look and Layout" etc. is there any way to provide localized translations? I know that OOTB there are about 28 languages that portal supports. For these languages the translations are available out of the box. But what about a new language such as hindi? Can we provide our own resource bundle which the admin console application can then pick up?
2) Page titles are defined using "pages.xml" (in JDev) and these get stored into the respective pageDef file. Is it not possible to use localized labels here? Even if my page content appears in hindi, my page title (in navigation model) always appears in English. Is there any way to localize this?
Any pointers around this?
Thanks,
Prashant
prashant82 wrote:
Well, it turns out I was making a fundamental mistake!
Conceptually, pages.xml (Page Hierarchy) should be treated as a place to maintain page security. Navigation Model is the place where we define site structure and labels. It is not a good practice to add page hierarchy directly into the navigation model. However, if you add just page links to the navigation model, you won't be able to manage pages at runtime - show/hide page, reorder them, add new page. So you have to answer the question wether you need runtime page management or not.
I overcame problem with non-localized pages.xml manually, with sollution Yannick Ongena once provided. Because you propably render navigation on your own in page template, you can set PropertiesBundle keys as lables in page titles and then display properties values instead of keys. For example:
<c:forEach var="node" varStatus=" items="#{navigationContext.navigationModel['modelId=default-navigation-model'].listModel['startNode=/, includeStartNode=false']}">
<LI-tag>
<af:commandLink id="gLink" actionListener="#{navigationContext.processAction}">
<f:attribute name="node" value="#{node.children[0]}" />
<strong>
<af:outputText value="#{not empty portalBundle[node.title] ? portalBundle[node.title] : node.title}" id="pt_ot4"/>
</strong>
</af:commandLink>
</LI-tag>
</c:forEach>
It however does not overcome problems with addind pages on runtime, but it's at least partial sollution.
Edited by: Maciej Nowicki on 2012-03-15 04:44
Similar Messages
-
How obtain Index a multi-language Portal in Google?
Hello, we are deployment a multi-language Portal.
How obtain Index a multi-language Portal in Google?
In Portal, the URL is the same for all language, allways /portal/page/portal/..... and google only dicoverer 1 language.
How obtain that google discoverer multilanguage?
We are using Portal 10.1.4.0.1
Thank.Hi
Some useful threads
How can i create a multilingual website?
Multi Language Issues!!
how to set up a multilingual website with Adobe Muse and push it live to Adobe Business Catalyst
Do let me know if you have any question. -
Multi Language Portal on WebCenter Spaces
Hi all,
we have a project to implemet bilingulal (Arabic/English) portal for a client, if you have an experiance before please share it with me
i need to know how to deal with Arabic/English reagarding the below
1. temaplate
2. Navigations
3. pages
4. content
5. Announcements
Thanks,Hi,
Are you sure to implement it in webcenter spaces ?Or thinking to build custom webcenter spaces ?
Anyways, in both the applications support multilingual.Here multilingual means text's values and some images are changing with language selection.There is no automatic language translation.Everywhere you have to use resource bundles to maintain text levels.
1)Template : Same template can be used for both the languages.If you need to use some texts in template then better to use resourse bundles and provide text's key,values in resource bundles.If you have some image kind of thing based on language then you need to use JSTL to check the current language.
2)Navigations :Here also you have to use resource bundles to build multilingual navigation.
3)pages:What you need in pages to achieve multilingual ?ADF/Webcenter layout's support left-to-right and right-to-left direction.You need to change the content /lebels based on language selection.Levels can be maintained by resource -bundles and content can be managed by UCM/ static contents.
4)Contents: can be managed by UCM. Make two folder one for English and another for Arabic .Therefore you can maintain both contents under generic folder name.
5)Announcements :It is completely based on user's input.If user provides arabic content then it will show arabic and so for english. Although the lebels of announcement taskflows will change according to language selection.If you need to show arabic and english announcements ,then you need to use two taskflow.
you can get more informations on :http://docs.oracle.com/cd/E25054_01/webcenter.1111/e10148/jpsdg_languages.htm#CJAIIAJF
Regards,
Hoque -
Hello,
since we're building a multi-language portal, I was wondering how one could go about doing such a thing.
Is there some documentation describing such a situation? (except for the manuals :( )
First there is a anonymous authentication. Can I separate two language-groups within the same domain? Setting the language
fixed for Anonymous is not an option (except if I set up two domains, one for each language)
Does the portal detect the browser Locale? It doesn't work for me
thanks
BobAssuming your iPS domain is "MyDomain", you should have a "MyDomain"
sub-directory under "/etc/opt/SUNWips/desktop/" (SP2).
Assuming you want user "xyz" to see a French version of the site.
These are the steps we used to do localization for user "xyz" (locale =
"fr_FR"):
- copy the "MyDomain" sub-dir to "MyDomain_fr_FR" sub-dir under
"/etc/opt/SUNWips/desktop/" .
- change templates under "MyDomain_fr_FR" sub-dir as needed (e.g., code
display text in French). Restart iPS after modifying templates.
- log into Admin Console, navigate to user "xyz", click on "User" menu,
change the "User's Default Locale" field to "fr_FR".
- go to Server Management >> show advanced options. Add locale "fr_FR" to
the "Available Locale" list.
- add properties files to the "/opt/SUNWips/locale" directory as needed.
For example, to show edit labels in French, you may want an
iwtBookMarkProvider_fr_FR.properties file in addition to the default
iwtBookMarkProvider.properties file.
- log into portal desktop as user "xyz", you will see the look-and-feel you
customized under the "MyDomain_fr_FR" sub-directory. User "xyz" can choose
language preferences by going into the Edit User Info page. You need to
logout and log back in to see the changes in your language preference.
"Bob Lannoy" <[email protected]> wrote in message
news:1103_998294858@bl_port...
Hello,
since we're building a multi-language portal, I was wondering how onecould go about doing such a thing.
Is there some documentation describing such a situation? (except for themanuals :( )
>
First there is a anonymous authentication. Can I separate twolanguage-groups within the same domain? Setting the language
fixed for Anonymous is not an option (except if I set up two domains, onefor each language)
Does the portal detect the browser Locale? It doesn't work for me
thanks
Bob -
Ultrasearch and Portal Multi-language
Does Ultrasearch provide any integration to the multi-language support in Portal? If a Portal user is working in French, does a Portal search return only the French content from the Portal Repository? Also, is there a way to specify language in the search?
Does Ultrasearch provide any integration to the multi-language support in Portal? If a Portal user is working in French, does a Portal search return only the French content from the Portal Repository? Also, is there a way to specify language in the search? UltraSearch will crawl Portal and take into account language information. However, the support for Portal item and page translations is not yet fully implemented. This means that UltraSearch will only be able to crawl a multilanguage portal in one language at the moment.
Portal search has full support for translations and will return content in the language of the user that initiated the search.
In 902 there is no way to restrict the search by language other than by logging in to the Portal in a different language. -
How to install multi language in Portal?
Hi,
Can someone give me the directions in how to install multi
language in Portal? I found the "langinst.cmd" file under
ORACLE_HOME\portal30\admin\plsql, also another
file "langinst.sql" under ORACLE_HOME\portal30
\admin\plsql\nlsres.
I am not quite sure how I can do that, which file I should use.
And once I installed the multi language, can I just go into
portal to create a new content area and using the multi language?
Thanks for any comment in advance!
Kelly.Hi Kelly
You need to identify parameters for this file and run file. Its
langinst.cmd for WINNT and langinst.csh for UNIX.
1. From the dos prompt , go to the following directory on
your server.
Oracle/iSuites/portal30/admin/plsql/
2. Set the Oracle_Home to = oracle/iSuites/
3. Run the command
langinst.csh -s portal30 -p portal30 -o
PORTAL30_SSO -d PORTAL30_SSO -c oid -l ar -available
s - schema
p - password
o - < login server - in your case it may be portal30_SSO >
d - <password- maybe portal30_sso>
c - connect string
l - language (which is set to ar )
ar is arabic which i ve set
Good Luck
Regards
Yogesh -
Multi Language support : which release of portal?
Is multi-language supported in 3.0.6?
I know it is supported in 3.0.7, but what about 3.0.6?
Furthermore, I heard there are knowns problems with 3.0.7 language support.
Is it worth waiting 3.0.8 or can we pretty safely use 3.0.7?
ThanksIn 3.0.7 we have still problems with multi language support.
We are switching to 3.0.8 which seems to be solution of almost all our's problems. (Bugs and missing features)
Regards
Marcin
null -
Multi-language navigation on portal
How can I create a multi-language navigation without a need to create same pages many times for different languages?
Hi guys,
I am facing a similar problem with a customer. They want to have the page titles in Group Space navigation in multi-language.
For example: Navigation in English: Home - Employees - Help. If language is changed to Spanish: Inicio - Empleados - Ayuda. These pages are created by final users inside a Group Space, so we would like to find a way to specify translations of the page title at creation.
I found Oracle guides where it is explained how to do page translations:
http://docs.oracle.com/cd/E15586_01/webcenter.1111/e12405/wcadm_languages.htm#CHDGAJHJ
However, it implies WLST command executions and we need another way, because it is going to be performed by users, not administrators. Therefore using WLST commands is not a choice.
Would you know how to achieve this?
Thanks in advance
Javier
Edited by: user643559 on 25-ene-2012 4:17 -
Hi all
I´m currently inmersed in the design of a new SharePoint portal for multiple companies (SharePoint 2013 Enterprise). The main idea is to have the same structure for all companies (lists, librarys, public views, ...) but separate the contents (the ítems created
by a certain user only can be read/modified by users of the same company).
I see three ways to achieve this:
1) Using item targeting audiences, but it implies that the destination audience for each new ítem must be filled on ítem creation (too much work for users).
2) Using an ítem event receiver who assings ítem level permissions to each new ítem according the user group, but this implies performance issues in large lists.
3) Using 'Variation sites' like a multi-language site, but I´ve never worked with this feature and i don´t know if is it valid for this.
Which is best? Any other workaround who fill better my requirements?
Thanks in advanceI guess I like none of the options.
1) Not a security feature, but you've mentioned items created by a certain user only be read/modified by users of the same company.
2) Has significant impact on SharePoint performance, and makes the system harder to understand, I feel this option is bad design.
3) Meant for creation copies of content that need to be translated in another language.
Why don't you just use the identical structure lists, libraries, views etc, but use separate folders for each company with separate security settings for each company. That way, each company user only sees the stuff relevant for him/her, if you like you
can use views to obscure the use of folders and you can avoid event receivers or workflows.
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
Provide Multi Language Content in Knowledge Management // Class deprecated
Hello,
I tried to implement the blog "Provide Multi Language Content in Knowledgle Management" by Thomas Kuri (BridingIT).
I have problems to import the the following class:
import com.sapportals.portal.prt.service.usermanagement.IUserManagementService;
I always get the warning "The type IUserManagementService" is deprecated. I use the following jar file for that:
j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.usermanagement\lib\com.sap.portal.usermanagementapi.jar
Is that the wrong jar file? Or am I doing something else wrong?
Thanks for your help!!
KirstenHi,
she's trying to implement the code example from this article:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/207ba610-08ac-2b10-1787-fc477da4b5bf
In this article, the deprecated class is used. Why? The code obviously is not written for EP7, but for EP6 with EP5 support. In the function: getEP5User is used to retrieve the EP5 user.
If you're not too experienced or just want to try something / PoC it's OK to just copy & paste some sample code. For using this code in an EP7 portal I would recommend to adapt the code.
br,
Tobias -
Creating a multi-language website on Dreamweaver-cs4
Hi,
What would be the best aproach to create a multi-language website ( max 10 html pages , not a portal ) on CS4.
I had Joomla in my mind but I want to learn Dreamweaver way.
Should create different folders for each additinonal language and copy the default files and edit them accordinly? ( Default will be English, Turkish and German might be other options )
Thanks a lotWatch for site management issues.
Here's a good reference: http://www.adobe.com/devnet/dreamweaver/articles/ora_dw_cs4_mm.html
You might have a home page that appears in all languages, linking to each section of your site. Each section might be in a folder named like "IVFDeutsch" for the German version, etc., and the 'home page' for German could be www.yoursitename.com/IVFDeutsch/index.html so you would have an index page in each subsection.
Consider using Templates, and a nav for each section that is presented in the language of the section, to treat your other language speaking visitors as well as possible.
You have many decisions and possibilities..have fun with the site.
Z -
I18N / Multi-language Content Support
Hi All,
I have a requirement where, content needs to be published in multi-language, e.g. same News in English and Italian version.
Process 1. When user login user must be able to view the content as per the profile language, e.g. same News in English and Portuguese version
Process2. Provide a dropdown on the page, when user selects the language manually respective language specific page should be displayed.
Also, Request for helpful link with respect to- trex users search by multiple language
Regards,
SKHi All,
I am trying to follow the document Provide Multi Language Content in Knowledge Management to Provide Multi Language Content in Knowledge Management to create a multi-language KM Nav iView.
I have created a new component KMWrapperIView and followed the steps provided, but presently i am getting error message as shown below.
--> I have added bc.util.public_api.jar that is required com.sapportals.wcm.util.uri.RID
Caused by: java.lang.NoClassDefFoundError: com.sapportals.wcm.util.uri.RID (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at com.test.kmw.KMWrapper.doContent(KMWrapper.java:66)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
Caused by: java.lang.NullPointerException
at com.sapportals.wcm.util.uri.RID.getRID(RID.java:93)
at com.sapportals.wcm.util.uri.RID.<clinit>(RID.java:73)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
Where i am going wrong any idea??
Also should I customise SAP standard KM navigation IView component (km.appl.portal.portalcomp_api.jar).
Regards,
SK -
Multi Language support for KM Content
Hi Experts,
We have some folders created in KM and all their display names are in English. Now the client has asked for maintaining multi language names for folders and files in KM. Which means if the logon language of the user is in English then the folder name and document name has to be in English and if the logon language is different then the text maintained in that language has to be displayed for the KM folder and file names.
I went through some blogs and forums but still I couldnt get a clear idea on this. can some one let me know how to achieve this?
Thanks,
Mahendran B.Hi Kruger,
I have already looked into these documentation. Our portal is in version 7.0, so it is not applicable.
I have to maintain the multi language for folders in KM of SAP EP 7.0
Thanks,
Mahendran B. -
Web Page Composer Multi Language Content
Hi,
can the content of WPC pages language-dependant?
What is the strategy for multi-languages web sites with WPC?
I have the request of a customer who wants to display WPC content on pages dependant on the language selected by user personalization
#Thanks hsHi Holger,
I worked with WPC and don't find any difficulties. I had requirements create multilanguages interface for portal (English and Russian). Use WPC you can create multilanguages pages. First of all you create page in English, then translate it and publish. When you change language in personalization (for example from English to Russian) russian pages (which I translate in WPC) pull in Portal automatic.
Have a look this presentations
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/904b071d-79e4-2910-70a9-f62a9004d9ad&overridelayout=true
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/90347add-ad06-2a10-81a0-e613acff5236&overridelayout=true
Regards
Dmitriy
Edited by: Dmitry Korolev on Jul 2, 2009 9:10 AM -
How to know setting iview name to use multi language(ex, english,japan)?
how to know setting iview name to use multi language(ex, english,japan)?
We want use multi language when create iview.
ivew name english version
ivew name japan version
ivew name korean versionHi Joohyun,
you can translate the PCD objects (like iViews etc) with the portal's translation mechansim, see http://help.sap.com/saphelp_erp2004/helpdata/en/74/641640b7b6dd5fe10000000a155106/frameset.htm
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!
Maybe you are looking for
-
With CS5.5 I could export vector art from Flash and open it in illustrator. Now with CS6 I cant do that without breaking everything apart if flash first. This can cause masks to be lost and is a lenghty and complicated process. If I don't break ever
-
Blank page generated from export to pdf but not when sent to viewer
I have a report where I am suppressing a subreport when no data is found and it works correctly when sending it directly to the CrystalReportViewer. However if I Export it directly to a pdf it is creating a blank page. Can someone please tell me ho
-
Can anybody tell me how to get quarter of the year based on a given date. Thanx null
-
Open Source- WebAnalytics - for weblogic Portal Appliccation
Hi All, I am using Weblogic portal 10.2 I have developed a site , in portal 10.2 I want to integrate webanalytics to my application. Did any one intergrated Open source Webanalytics for portal application I can see "AWstats" , but if you have used ot
-
How well will it run on the older PowerBook G4 12" 867MHz - 640MB RAM?