Multi-language with URL-iViews

hi folks,
I have the following little problem:
Our EP is mostly based on URL-iViews to static HTML-sites in german. Now, we are planning to extend the EP with an english Version. The Users should see the portal in the language they choose in the portal personalization menu.
My first thought was to use the portal-content-translation but this doesn't work for URL-iViews, as there is almost no text to be translated.
Now, my idea is to put a little script between the portal and the HTML-sites that checks the chosen language and redirects the user to the specific version.
The Problem is, I have no idea how to do that.
It would be really nice if anyone could tell me how to do this or maybe you have a better solution for my problem.
Thank you in advance for your efforts.
Kind regards
Norbert

Hello Michael,
unfortunately that doesn't work.
If I put an URI like http://yourcontentserver.com/<request.language>/content1.html
in the URI file of the URL-iView Editor and after that on preview I get the following error: page could not be found
When I use a PHP-Script to catch the variable like http://yourcontentserver.com/index.php?lang=<request.language>
I can't put it like that in the URI field cause I can't save it.
When I use the URL-parameter fields and enter "lang" and "<Request.Language>" I get the following URL as an result:
http://yourcontentserver.com/index.php?lang=%3CRequest.Language%3E
As you can see, the variable isn't "translated".
Maybe you could I didn't understand you right?
Message was edited by: Norbert Stroh

Similar Messages

  • Set user Language in URL IView

    Hello,
    I am trying to put the Language of the user in the parameters of the URL.
    For example :
    http://sopraganesh.cr.infra.lab/redirect.asp?page=ECD&lang=en
    How can I parameter the URL IView to automatically retrieves the language of the connected user?
    Thanks for your help,
    AN

    Hi
    Once you have defined the iView’s URL to the targeted Web page, you may need to configure parameters that are passed to the information source as part of the URL. In the URL iView Editor, you can do the following to URL parameters:
    ·        Add, remove, and modify URL parameters
    ·        Determine whether or not portal end user can view and personalize URL parameters at runtime
    ·        Assign intuitive display names to URL parameters that are viewed or personalizable by portal end users
    ·        Specify the URL request method (GET or POST)
    If you navigated to the targeted Web page and defined the iView URL using the portal built-in browser, the URL parameters and request method may already been defined in the URL iView Editor.
    Procedure
           1.      Open the iView in the URL iView Editor.
    The editor does not display URL-specific parameters in the URL address within the URL box. URL parameters that were part of the URL referencing the selected Web page (the information source) are automatically removed from the source URL and displayed in the URL parameter list in the editor. At runtime, the portal automatically appends the URL and the listed parameters to the targeted URL request.
           2.      In the Request Method option, choose either GET or POST to specify the request method. The request method indicates how the browser sends information to the information source:
    Request Method
    Description
    GET
    This request method appends parameters to the URL when the data request is sent to the information source. The server receives the data in one long query string, which typically limits the length of parameters that can be passed.
    For example, a URL using the GET request method would be: http://www.google.com/search.asp?&querystring=SAP where querystring indicates the parameter identifier and SAP is the parameter value.
    POST
    This request method sends parameters for the URL in the header of the data request stream; parameters are not appended to the URL. This allows for long parameters to be passed to a script and parsed one element at a time.
    For example, a URL using the POST request method would be: http://www.google.com/search.asp.
    POST is only supported when the Fetch Method property defined in the iView is set to Server-side. For more information, see URL iView Properties.
    For iViews that have a mixture of parameters sent by GET and POST together, you must:
    §         Choose POST as the request method.
    §         Set the Fetch Mode property to Server-side
    §         Append the GET_EXPLICIT_ prefix to the parameter identifier of each parameter that is sent by GET. For example, a parameter defined as searchstring should be defined as GET_EXPLICIT_searchstring. When the iView sends a data request, the prefix is removed from the parameter identifier at runtime. Parameters sent by POST do not require a special prefix. 
           3.      To add a parameter, click Add below the table. A new entry is added to the parameter list.
    To remove a parameter, select the checkbox of the relevant parameter in the list and click Remove. Before doing so make sure the parameter is not required by the information source.
           4.      Define the attributes of existing or new parameters, as follows:
    Attribute
    Description
    URL Parameter
    Specifies the parameter identifier as recognized by the information source. For example, in the URL http://www.google.com/search.asp?&querystring=SAP, the parameter identifier is querystring.
    As stated above, parameters that need to be sent by GET when the request method is defined as POST, must have the GET_EXPLICIT_ prefix. For example: GET_EXPLICIT_searchstring.
    Enter special characters that are present in the parameter identifier as is. Do not convert them to ASCII code. For example, enter first name, and not first%20name. At runtime, the portal will encode special characters to ASCII when fetching the iView data.
    Value
    Specifies the value of the parameter. This is not mandatory.
    If you set the parameter as a variable that can be personalizable by end users (see following attribute), then this value will be the parameter’s default value. However, if you set the parameter as not personalizable, then this value is the fixed value of the parameter.
    Enter special characters present in the parameter value as is. Do not convert them to ASCII code.
    Type
    Specifies the data type of the parameter.
    Choose one of the following options:
    ·        String: Apply this option for all data types whose property is not a mapped user name or password; for example, an integer or string.
    ·        Mapped User: Apply this option when the URL parameter designates a “user name” that is required to authenticate the user with the information source at runtime.
    ·        Mapped Password: Apply this option when the URL parameter designates a “password” that is required to authenticate the user with the information source at runtime.
    §         When Mapped User and Mapped Password are selected, the Value and Personalize attributes cannot be edited.
    §         If you want to enable user mapping for the user name and password parameters, in the System drop down-down list, choose an appropriate system already defined in the portal, which contains the necessary settings. See Selecting a System.
    Personalize
    Specifies whether or not portal end users can view the parameter and its assigned value if they personalize the iView at runtime. This attribute also allows you to determine whether or not end users can personalize the parameter value.
    Choose one of the following options:
    ·        Hidden: The end user does not see the parameter and its value. This is the default setting.
    ·        Read / Write: The end user sees the parameter and is able to modify its value.
    ·        Read Only: The end user sees the parameter and the fixed value assigned to it. The end user cannot modify the parameter value.
    Name
    Specifies an intuitive display name for the parameter identifier. If you set the parameter to be viewable by end users at runtime, this name is displayed instead of the parameter identifier, which is often abbreviated and unintuitive.
    This attribute is available only if Read / Write or Read Only is selected in the Personalize attribute. If you do not specify a name, the Personalize attribute will be reverted to Hidden.
    with regards
    subrato kundu

  • Problem with URL iView regarding fetch mode and SSO to non-sap webapps

    Hi,
    I have created an URL iView which opens an internal webapp. When the fetch mode is set to client-side the page is displayed for the user. But when I set the fetch mode to server-side, the page cannot be displayed by the user.
    No proxy is needed. I tried to open the wepapp direcly on the portal server without any problem. Are there any additional points to be considered?
    On the other hand I want to realize SSO to this webapp (form based authentication) with user mapping. Is it correct, that I have to user server-side fetch mode, when I want to use the POST request method?
    Thanks ahead,
    Bernd

    >
    Bernd Speckmann wrote:
    > On the other hand I want to realize SSO to this webapp (form based authentication) with user mapping. Is it correct, that I have to user server-side fetch mode, when I want to use the POST request method?
    Yes.
    >Are there any additional points to be considered?
    Have a look at System Administration - System Configuration - Service Configuration - Applications - com.sap.portal.ivs.httpservice
    This is used to do the Server side fetch.
    Have fun
    Johannes

  • Client Eventing Problem with URL Iview

    Hi,
    I am new to EP and have a basic client eventing question. We are trying to integrate a URL Iview from a partner product with a standard Iview downloaded from Iviewstudio. This standard Iview is capable of handling client events from other Iviews in the standard package. We want to re-use this Iview with the same event (same functionality) to be able to handle events from the partner URL Iview.
    The partner Iview and our portal are on different servers.
    We are using the following Javascript but it doesnt seem to raise the event.
    EPCM.storeClientData('urn:com.sap.bor:BUS0010','objid',LocId));
    EPCM.storeClientData('urn:com.sap.bor:BUS0010','AllKeys','objid');
    EPCM.raiseEvent('urn:com.sap.bor:BUS0010','select','','/irj/servlet/prt/portal/prtroot/...'
    We were able to debug and find that the data was being stored in the Data Bag. However the event is not being raised at all. It seems that it just gets stuck somewhere in the Raise event. We even put a javascript alert after the raise event but it doesnt seem to reach there at all.
    Could you give me a few pointers as to what the problem might be.
    Thanks in advance.
    Message was edited by: Mayank Bhatnagar

    Hi,
    let's have a look at two quotes of the PDK documentation.
    "Using the EPCF from your JavaScript, you can send messages to JavaScript code embedded in other iViews."
    "Isolated iViews are iViews that are not inlined into a portal page, but referenced using an IFRAME. To make the EPCF available in such iViews, the EPCF JavaScript as well as the EPCF applet are included into each generated frame."
    From my point of view, this only can work automatically with content provided by the portal.
    Therefore, this can't work with isolated URL iViews  generated with the wizards. Imagine a google iView, running in an iFrame. Google is called by the portal, but it's simply standard google HTML output - displayed in the portal.
    To provide the capability of the EPCF, the epcf javascript file has to be included in the "partner URL iView"'s source. I tried this and it worked. However, this is not a highly sophisticated solution
    If the partner iView's server is running in a different domain, there are further issues to be considered (keyword: java script origin policy)
    If anybody has corrections or can provide a good solution, don't hesitate.

  • Integration with url iview

    Hi everyone,
    I have a web application and Portal and My aim is this two systems integration using url iview but I don't want to use Application Integrator.I want to use only URL iview with url parameters. My wish is to enter URL Parameter = uname(static) and Value = portaluid(This value should be get dynamically from portal).Consequently,How can I get dynamically portal userid in the url iview value.Is that possible?

    Hi Mehmet,
    Is there a reason you don't want to use application integrator? Because it is quite simple to create what you want using application integrator.
    I don't think URL iView supports dynamic parameters...
    Check out the Howto document for application integrator here:
    http://help.sap.com/bp_epv260/EP_JA/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf
    Regards,
    Johan

  • Different Languages in URL-iView in EP7 SPS11

    Hi there,
    we create some URL-iViews and want to implement some other URL´s for different languages. But there is a problem:
    SAPPortal knows only English, German, French , Internet Explorer 6 and 7 knows different languages for German, English etc.
    English
    Portal , IE6 ,[EN-US],[EN-AU]
    German
    Portal , IE6 ,
    etc.
    Problem is, that different users in UK or USA can´t get different URL´s, because portal only knows the languagecode but not the extensions
    Does anybody know,how to patch this bug, or SAP knows his bug?
    Best regards
    Christian

    Hi Christain
    Refer to this links may be of some help
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b2/77284a96264e9183161b7e8718dfa8/frameset.htm">Locale Service Properties</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d4/be1640033ae569e10000000a155106/frameset.htm">Worklist Translation</a>
    Thanx
    Pankaj

  • EP 6 to EP 7 with URL Iview

    Hello All
    We are implementing Travel and Expense on EP 7 with ECC 6.0 as the back end. This is the Finance box. We have a separate HR box, ECC 5.0 using EP 6.0.
    We would like to have users logon to the HR/ESS portal, click on Travel and Expenses and be sent to the EP 7 portal to enter expenses. We would like for this to happen in another screen.  We are able to authenticate and display the iview in another screen which is desired. We can even do a preview of the URL Iview in EP 6 and access everything we need.
    The problem is when the user logs onto the ESS portal, clicks on Travel and expense. The new screen is generated, EP 7 with our options is displayed. When you select a Service the system hangs and nothing is displayed. I have noticed that the EP6 url is in the Address field in the browser. Can anyone give me any hints as to what we are missing? Anything would be appreciated
    Points will be awareded!!!!
    Thanks
    Ronnie

    Moved the question over here to Portal Content Development:
    /thread/2033973 [original link is broken]

  • EP7 SP11 new behavior with url iview launching external apps

    We have a simple URL iView that we deployed to open Lotus Notes (notes:///bookmark.nsf).  When we use this in EP7 SP10 it launches the external Notes client on the end user's PC and leaves the navigation area of the portal blank white.
    When we launch the same URL iView in EP7 SP11, we get an error page in the navigation window that says:
         Navigation to the webpage was canceled
         What you can try:
          - Retype the address.
    The Notes client still launches, but we'd like to get rid of this new error page that the support pack stack brought us.... Anyone have a suggestion?
    Thanks!
    Rich

    Hi,
    Using the url in IE works fine.  It seems to work everywhere but in the portal menu.
    I have the appintegrator in the back of my mind, and will start to have a look at it.  We are also considering a OSS message - this must be a bug in the system as far as I can see.
    Bjorn

  • Multi Language –  Change standard iviews title

    Hi all,
    We are using EP 60 SP2,  and we have been implemented a few standard iviews (basead in a master standard iview coming from BP MSS 60.1). We would like to change the standard title of these iviews in all languages.
    <b>We can change the title of the iview but we can’t select the language.</b>
    Does anyone knows how can we solve this kind of problem?
    Thanks in advance for your help,
    Claus

    Hi,
    actually we got the same problem. The only solutions i know is the translation tool fpr pcd content available in sdn.  but that is not really good.
    If you got any better solutions, please post it here.
    Thanks,

  • 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 version

    Hi 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!

  • 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,
    SK

    Hi 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

  • Url iview for anonymous user

    Hi
    We have an url iview with two Language-specific URLs (en and es) and a default URL. This iview is in anonymour portal page.
    The first time that an anonymous user accees to /irj/portal/anonymous the url iview shows the default url instead of the en URL. Browser lengauge is EN.
    How can i solve this??
    Thanks

    Hi,
    There are two condition for the URL Language-specific :
    1. You must first create the URL iView and then use the editor to use this
    feature. It is not available in the URL iView Wizard.
    2. You cannot apply a different look and feel to language-specific URLs.
    iView content will be displayed at runtime in its native format as defined in
    the source Web page. For more information, see the Keep
    source formatting option in Defining the Look and Feel of the iView Content.
    The remaining look and feel rendering option are supported by the default URL only.
    In addition there is an option to check the service configuration of the Language-specific :
    com.sap.portal.admin.wizardframework:
    edit the SourceLocales field check that the requested Language is defined and if not you can add it
    ( Follow note# 1078145 )
    After doing so , please restart the service , and check the results.
    If the problem still exist let me know and we can have further investigation.
    Best Regards,
    Sharon Dassa

  • Language specific urls in EP6

    Hi all,
    i was trying to implement language specific URL iview using the following link:
    http://help.sap.com/saphelp_nw70/helpdata/en/44/aabd5c7e8e0a47e10000000a1553f7/frameset.htm
    however this link is for EP7.
    Can anybody tell how can I implement the same in EP6.

    Hi Juhi,
       Alternate is..   Check the SAP NOTE- 961793.  Which says...
    Symptom
    Adding Language-Specific URLs
    Other terms
    EP6.0, NW04, SP18, URL iView, Language-Specific
    Reason and Prerequisites
    URL iView new feature: Adding Language-Specific URLs
    Solution
    As from NW04 SP18, URL iView presents a new feature: Language-Specific URLs. The new feature enables you to define more than one source URL for any URL iView. Apart from the default URL, which is not language-specific, you can define any number of additional URLs; each one corresponding to a different language. If a portal user's language matches a language defined in the iView, then the corresponding language-specific URL will be executed at runtime. If a portal user's language does not matches a language defined in the iView, then the default URL will be executed.
    Header Data
    +     +
    Release Status:     Released for Customer
    Released on:     26.07.2006  12:21:34
    Priority:     Correction with low priority
    Category:     Special development
    Primary Component:     EP-PIN-URL HTTP Connectivity
    Regards,
    Uday.

  • Problem in Url iView creation

    Hi,
    Does anyone know how to resolve this problem.
    We have EP. 7.0 and SRM BP 5.0 installed.
    When i try to create an URLiView i got this error msg:
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Could not find portal application com.sap.portal.httpconnectivity.urliviews.
    Exception id: 03:26_02/11/06_0044_8457250
    See the details for the exception ID in the log file</b>
    I can not see the log file so hope to have a hand from you!
    Thank you,
    Points will be rewarded for any help.....

    Hi,
    I have few drop down list boxes, which are displaying when I execute an url.
    ex: url like http://countrystates.com and drop down list country displays 10 countries and states will be displayed base on selection of country
    When I execute this with URL iView I am getting same content what I expected but after assigning this iView to page I am getting wrong content mean country dropdown size is 10 but with wrong data (same some text is displaying 10 times in dropdown)
    I hope u understood the problem
    Thanks

  • URL Iview in Page

    Hi,
    I have a page having two iview
    1. JSP Dyn Page Iview - static content
    2) JSP Dynpage  Iview - redirect the new url
    when I open the page, I get the content of second url that is comming by redirect url i.e. redirection refereshes the complete page and first iview content vanished.
    Note: I am using window.open(URL,"_self") in redirection JSP dyn Page
    Kindly let me know is there any setting at the page level property or iview to restrict the content to be displayed in the page itself.
    Regards,
    Sanjeev

    Hi,
    I have few drop down list boxes, which are displaying when I execute an url.
    ex: url like http://countrystates.com and drop down list country displays 10 countries and states will be displayed base on selection of country
    When I execute this with URL iView I am getting same content what I expected but after assigning this iView to page I am getting wrong content mean country dropdown size is 10 but with wrong data (same some text is displaying 10 times in dropdown)
    I hope u understood the problem
    Thanks

Maybe you are looking for

  • Vendor Report G/L and open item wise

    hello all, I need to execute a vendor (for bulk vendor) report with following data/field, please suggest. Vendor Code        Vendor Name      G/L code         G/L description           Balance             Open items      I tryed with FBL1N, FBL3N but

  • Install on usb flash GRUB

    Hi, From wiki page "Installing Arch Linux on a USB key" under Grub Legacy section it states I should edit menu.lst to change items to reflect what I am using - label, UUID etc. and to ensure the key is (hd0, 0). I am using the latest iso - 2014.01.05

  • Vi control of Thorlabs TDC001 motor control,need to generate a ref # for ActiveX

    I am trying to create a custom program for control of a Thorlabs TDC001 motor controller.   The stand alone Thorlabs software works,  I also created a Active X window using the Thorlabs software in Labview.  I would like to create an automated look w

  • The default print size on Pages is too small - how can I program it to be larger?

    The default type size in Pages is too small - can I permanently size is larger? Thank you.

  • Error when trying to deploy a valid mapping

    Dear all I have created a simple mapping in OWB 10g 10.2 having a table as source and a flat file as a target. When I perform validation on the mapping, I get a message that is validated successfully. However, when I try to deploy it in order to debu