How to Internationalize Portal 8.1 Framework.

Hi All,
I have internationalized Contents in Portlet. But I want to implement this:
1. Will have one portlet - which is like language selection portlet.
2. All dektop name, page name would be in english before Language selection.
3. Once language is selected, then Desktop,book and page and portlet tiltles names
has to be changed according to selected language.
I have created different locales and set appropriate titles for Desktops/Pages/Portlte
through Portal Admin tool. If i change the primary language setting through
IE Browser and try to access the desktop, it works fine.
Can somebody throw me some input on how can I go about doing this??
Any pointers welcome.
TIA,
Prashanth Bhat.

thanks a lot Alex. It worked. If you need code, pls do let me know. I will send
it to you.
Thanks again,
Prashanth Bhat.
"alex toussaint" <[email protected]> wrote:
>
>
>
Hi Prashanth,
I had a chance to go over this with our eng team this morning. Here is
what we
came up with:
You should consider creating a custom LocaleProvider. Here are the steps.
1) Write a class that implements com.bea.netuix.servlets.l10n.LocaleProvider.
The only required method is getLocales(ServletRequest request, ServletContext
context). Implement your functionality for selecting a locale in that
method (for
example: get a preferred locale from a request parameter).
2) Add <locale-provider>com.foo.bar.MyLocaleProvider</locale-provider>
to your
netuix-config.xml descriptor file. It should immediately follow the
<default-locale>
entry under <localization>
Hope this helps.
Regards,
--alex
"Prashanth Bhat" <[email protected]> wrote:
Thanks for the reply. I think, backing file wont work because, thelocalized
value(which
was set through Admin Portal) is stored in Database. We need to somehow
set the
"language" in Framework JSPs so that localization takes place properly.
If I change the browser setting it works fantastic. If i think in the
same dierection
, we have to find out the way, how and where this is extracted from"request"
object and localization is set.
If i get an answer, i let you know. Pls help me in resolving this ASAP.
Thanks again for your help,
Prashanth Bhat.
"alex toussaint" <[email protected]> wrote:
Hi,
I will try to take a look at this in more detail tomorrow. However,I
think that
the answer may be around using either a backing file and programmatically
setting
the title on the portlet via PortletInstance or around setting the
locale
via
the LocalizationResource. You may want to experiment with backing files
in the
Tutorial App and check the JavaDocs on the two classes above.
--alex
"Prashanth Bhat" <[email protected]> wrote:
Thanks for the reply. As i had mentioned in this mail, i can create
locale and
change the desktop name/portlet name /page name through Adin Tool.
This
is all
working fine provided I cahnge the browser setting to map the languge
and make
that languge as Primary language.
My problem is I cannot expect the USER to set his browser setting
to
take this
effect. Rather I will give a choice to USER to select language andthis
is avaialable
in "request" object. I extraxct the language from request object
and
then the
localization has to effect.
Pls see my code here.
request = ScopedServletUtils.getOuterRequest(request);
String language = request.getParameter("language");
<i18n:localize language="<%= language %>"/>
This could be done for all JSPs which are mapped as Portlets. Butin
a simialr
fashion, where to put <i18n:localize language="<%= language %>"/>for
"FRAMEWORK
JSPs".
As i told earlier, I could able to localize portlets, but not portlet
tilte, desktop
title,book and page title.
Can somebody help me in doing this.
TIA,
Prashanth Bhat.
"alex toussaint" <[email protected]> wrote:
Hi Prashanth,
Please see if thread #5640 helps.
--alex
"Prashanth Bhat" <[email protected]> wrote:
Hi All,
I have internationalized Contents in Portlet. But I want to implement
this:
1. Will have one portlet - which is like language selection portlet.
2. All dektop name, page name would be in english before Language
selection.
3. Once language is selected, then Desktop,book and page and portlet
tiltles names
has to be changed according to selected language.
I have created different locales and set appropriate titles for
Desktops/Pages/Portlte
through Portal Admin tool. If i change the primary language setting
through
IE Browser and try to access the desktop, it works fine.
Can somebody throw me some input on how can I go about doing this??
Any pointers welcome.
TIA,
Prashanth Bhat.

Similar Messages

  • How to accessing portal services

    Hi All
             I am saravanan. i have doubts. Can u plz solve my doubts?.
    1). How to Accessing Portal Services from a Webdynpro application?.
    2). Portal Eventing with Webdynpro and other Applications?.
    3). single signon from Webdynpro applications?.
         These are my doubts. Could u plz solve my problem.
    If u have any material or PPT or PDF files kindly send my mail.
    This is my mail id : [email protected]
    Thanking You
    Saravanan

    Hi Swathi
    I'm trying to do exactly the same, i have a webdynpro application and i'm trying to access KM libraries to get the full list of metadata properties. But i'm getting and error while trying to get the service on the following code:
    Property propertyAux = null;
    IResourceFactory resFactory = ResourceFactory.getInstance();
    IRepositoryServiceFactory serFactory = resFactory.getServiceFactory();
    IPropertyConfigurationService propConfigService = (IPropertyConfigurationService) serFactory.getService("PropertyConfigurationService");
    IMetaNameListIterator i = propConfigService.getMetaModel().nameIterator();
         while (i.hasNext()) {
         IMetaName metaname = i.next();
         if ( metaname.getDocumentPatterns()!= null){
         propertyData.setId(metaname.getName());
         propertyData.setName(metaname.getLabel(locale));
         propertyData.setNamespace(metaname.getNamespace());
         propertyData.setDescription(metaname.getDescription(locale));
         propertyList.add(propertyData);
    The error on the trace is this one:
    System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###Configuration Framework error: unable to create an IConfigClientContext instance from an EP5 userInitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
    System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.
    Could you please give me a hand on this one?
    Thanks in advance

  • How to develop portal application connecting to SAP R/3(backend system)

    Hello Everyone,
                            Can anyone guide me on how to create portal aplication(JSPDYNPAGE), that will connect to backend SAP R/3 system, & it will fetch the data from some table from that R/3 system. Any reference material will be appriciated, it will be of great help.
    Thanks
    Chetan.

    Hi Chetan,
    Connection to R/3 systems through Portal can be done in many ways. Since you have mentioned that you are using jspdynpage then its better that you use JCo for connecting to R/3 system.
    U can write the JCo code using the jspdynpage component. I hope you have pdfs related to JCO. Incase u dont have then give me you mail id. OK
    Another approach could be developing a web dynpro java application that access a r/3 table using a BAPI. You can a dynpro model to easily connect to R/3 system.
    Just develop an iview based on this web dynpro application. And finally navigate to this iview through your jspdynpage.
    I hope this helps you in some way
    Regards,
    Prasanna

  • How to reset portal password?

    Hi All,
    Can anybody tell me how to reset portal passowrd.
    I dont find automatic password generation field when I goto user>search-> modify.
    Is there any way that i can activate this field on portal.?
    Thanks,
    Master.

    Hi,
    which version of EP are you using?
    I have reset password under:
    <i>user>search><b>Reset Password</b></i>
    Romano
    PS: of course, if you have write-enabled LDAP/DB...

  • How does oracle know which AO Framework page or process to execute.

    Hi,
    How does oracle know which AO Framework page or process to execute. I use to think this was defined in the Function definition. But looking through some Function definition in HRMS setup I noticed some of them simply calling the same first page, such as the one below used in many managers menus. This initial page is the page that allows managers to choose the employee they want to work on.
    OA.jsp?akRegionCode=HR_PERSON_TREE_TOP_SS&akRegionApplicationId=800.
    My question is, after executing this initial page, how does Oracle then varies the OA page by the diffferent functions?

    Hi;
    Thanks for sharing
    Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding*
    Regard
    Helios

  • How to create portal user and integrate with external appl login

    How to create portal user and integrate the user with external application for single sign-on ?
    I want to access my external application thru portal user ..?
    Shyam

    Hi Jithin,
    The link that you've shared talks about a different scenario.
    In my case, I want to pass the portal user id when the user clicks on the Help Link present in the header area.
    I am trying to pass it along with the Help Link Url property of a masthead iview but it is not getting passed to the target Url.
    I would like to know if it is possible to pass the Portal User Id in this way or not.
    Though if we create a appintegrator iview and pass the user id <User.UserID> along with the target Url, it reaches there.
    Thanks & Regards,
    Anurag

  • How to connect portal with msaccess database

    we have to develop oracle portal applications with msaccess as a back end.how to connect portal to access.
    thanks in anticipation.

    I want to know or How to connect Mysql
    with JSP or JSF any other software isavailable?
    please help me.....First you need to find 25 m of a CatV cable and...The DB files need to be located on the ninth device of a SCSI Daisy Chain with the total SCSI cable length being over 150 m (and the devices (and cables) need to be mix of Differential and Non-Differential).
    Edit: And forget the terminator, who needs it?

  • How to internationalize images, css, js in JSF?

    Hi All,
    Just came to my mind and haven't think of it thoroughly but any better ideas how to internationalize the images, css, or js?
    For example:
    1. when the user's Locale is en, it will loads logo_en.jpg
    2. when the user's Locale is ja, it will loads logo_ja.jpg
    First came to my mind is to use the resource bundle (using its key=value pair).
    Much thanks,
    Eson.

    InDesign works on a different model. It might be best to adjust your thinking away from "float/clear."
    In page layout, it is "Text Wrap." You apply text wrap to your image, and any text that would otherwise occupy the same space will flow around the image instead. In the Text Wrap panel, you can adjust offsets, (or perhaps it would be more accurate to think of them as 'stand-offs'  or 'padding'), to push the text away or draw it closer.

  • How to clear portal navigation cache

    hi
    How to clear portal navigation cache

    Hi,
    Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/frameset.htm
    EFP: Navigation Caching
    Regards,
    Senthil K.
    [points welcome]

  • How to uninstall portal from windows machine?

    Hi gurus,
    Can u guid me how to uninstall portal from windows machine.
    Also please tell me the installation document procedure or document.
    Regards,
    Shivraj Chalke

    Hi!
    This depends on your EP release.
    For Basis release 6.40 (EP6) there should be an UNINSTSAP.EXE somewhere in your SAP-Filesystem which you need to run. Take care with the options you have, you might delete even the OS-Users (even on the domain) if you just click away without reading.
    For Basis release 7.00 (EP7) you call sapinst and select 'uninstall' under 'Additional Software Lifecycle tasks'. This will guide you through the process of uninstallation.
    If these operations fail you can manually clean the system by removing the files and cleaning the registry. This is only a sort of last resort though.
    Regards,
    Jörg

  • How to develop and deploy Spring framework app in Sun One App Server 8.1

    Hi,
    Can anyone give sample on how to develop and depoly spring framework application in J2EE 1.4 Server or Sun One App Server 8.1 .
    Its very urgently needed for my project to learn and implement spring framework i would very thankful if any one can help.
    Thanking You
    Naveen

    Pretty standard for AS8 to deploy Spring. The only thing to watch for is the security manager, which you'll probably want to turn off.

  • How to Integrate Portal with SAP OFFICE(Please help me)

    Hello Experts,
    I have doubts on Portal and SAP office..
    Please find the
    1) How to show the document info record(DIS,like cv03n or cv04n) in Portal
    Please let me know the step by step procedure...
    2) After showing the documnet info record(DIS) in the portal,If user clicks on
    original attachmnet of documnet info record(DIS) it shoud show the drawing
    or diagam in the word or any uformat using SAP OFFCIE:
    How to Integrate Portal with SAP OFFICE
    Please let me know the details.
    Please mail me any documents related to this to my mail id
    [email protected]
    Thnaks in Advance
    Preethi DSouza

    Hi Dharani,
    Please check this thread.
    How will do the connectivity with SAP and Non Sap System
    Also ensure you avoid cross-posting. This has been mentioned to you multiple times earlier.
    Cheers,
    Sandeep Tudumu

  • How to configure portal server with the Backend Oracle database

    Hi Portal Experts,
    we are planning to install Netweaver 04s sp stack 9 full java edition with Oracle 8i on windows platform.
    we have the installation docs of portal but we didn't have any idea about how to configure Portal server with the Backend Oracle database at the time of installation or after ost installation of portal.can anyone provide the documentation about this or guide me how to achieve this.
    PLZ share ur views---your help would be highly appreciable.
    Regds
    Phani.

    HI
    if you r working in Sap enterprise portal use for connection url
    jdbc:sap:sqlserver://ilsql01.tlv.sap.corp:1433;DatabaseName=Northwind
    ilsql01.tlv.sap.corp:1433 this is your portal url with port number
    Northwind is your database name.
    for dirver you need to give
    com.sap.portals.jdbc.sqlserver.SQLServerDriver
    in case if you r working on other than sap say windows along with oracle try to use
    Connection URL as jdbc:oracle:<drivertype>:@<database>
    Driver name as oracle.jdbc.driver.OracleDriver
    ex jdbc:oracle:thick:@localhost:3036:mydb
    Oracle implements two types of JDBC drivers:
    Thick JDBC drivers built on top of the C-based Net8 client, as well as a Thin (Pure Java) JDBC driver to support downloadable applets. Oracle JDBC drivers are used to create JDBC applications to communicate with Oracle databases.
    Oracle extensions to JDBC include the following features:
    Data access and manipulation
    LOB access and manipulation
    Oracle object type mapping
    Object reference access and manipulation
    Array access and manipulation
    Application performance enhancement
    *************if the information is helpful to you please reward points************

  • How to internationalize Poll question

    Hello
    I am using Jdeveloper Studio Edition Version 11.1.1.4.0.
    Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    WebCenter Portal application.
    Currently I want to use poll services in my pages. and everything is ok when using one language, but my polls need to support 2 languages.As I noticed the question text is saved in QUESTION_TEXT column in WC_SURVEY_QUESTION table. I did not find any solution to internationalize the same poll question. is it possible to internationalize the polls question. If yes, How can I do it?
    any help will be highly appreciated.

    You want to results to be included into the same resultset instead of having two seperate resultsets...
    I think the best way to do this is to create your own taskflow using the poll data controll.
    This way you can create the poll using the regular interface but you don't use the OOTB taskflow to show the poll.
    When you display the questions and answers from the data control, you can call a resource bundle instead of adding the text you have defined when creating the poll.
    For example when you create a poll you can say QUESTION_1 as the question and when you display the question you use #{bundle[row.question]} or something like that.
    I think this is the best way to achieve what you want...
    official documentation on the polls data control: http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_polls.htm#CIHJHCEH
    Edited by: Yannick Ongena on Apr 18, 2011 9:14 AM

  • Transport Portal desktop (theme + framework)

    Hello All:
    I have created my custom desktop, using custom theme and framework, but how do i transport them?
    I know theme can be exported / Imported, but now that I already have it under the 'theme' folder in PCD, can i just transport all three of them ie. desktop, framework and theme all in one package?
    Help is much appreciated
    Thanks
    KT

    Hi,
    You can transport them in one package  .Please check the thread for help
    Export of Portal Theme
    Thanks
    Santosh

Maybe you are looking for

  • Hdiutil and creation of more then one partition in a dmg and sparse image?

    Hello, My main question, after reading the man page and googling, I can't find any way to create a DMG file with more then one partition. Is this even possible? My finaly goal is to attach those with -mountRandom and - nobrowse from inside a cocoa.ap

  • Query takes long time 41 seconds to run how to tune

    my query is simple as follows...i dont know how to tune it.. cur_memb_count (p_as_of_date IN date) is select count(ip.individual_id) membercount, --lpad(re.region_id,2,'0')||lpad('000',3,'0')||lpad( pb.plan_cd,3,'0') group_id, substr(pb.plan_cd,1,1)|

  • Index in Berkeley DB XML - Problems with time

    I have some querys that not show a better time after have been indexed. I saw that this query that show problems with index realize : ordering , substring and empty values or tag. This query was extracted from benchmark xbench x toxgene I will post t

  • Eye TV Wonder + Video game

    Hi, Do any of you have tried the Eye TV wonder with iMac G5? They claim that you can plug your playstation or nintendo on your Mac through it and that due to high speed of the eye TV, you would not notice any slowing of the image. Is that true. I pla

  • Update to nvidia 304.x - Mouse detected but frozen

    I updated my system to the latest Nvidia drivers local/lib32-nvidia-utils 304.43-1 NVIDIA drivers utilities and libraries. (32-bit) local/nvidia 304.43-1 NVIDIA drivers for linux. local/nvidia-utils 304.43-1 NVIDIA drivers utilities and libraries. wh