Multi-Lingual JSP Reports

Hi,
Can I use the customize xml functionality for providing multi-lingual capability for JSP reports?
I have been able to replace report fields labels with foreign language/customized labels for PDF and 6i-style HTML reports. How should one go about implementing this feature for JSP reports (reports with web source).
Thanks,
Bharat

Hi Bharat
I do not think you can use the xml customization for web reports which you run from jsp engine and not through Reports servlet. However if character set setting in your web report jsp page matches with your required language, the report output with come in same lang settings. So you do not have any issue for the data part. And you can edit the web report jsp page to correct the Labels etc.
Thanks
Rohit

Similar Messages

  • How to design multi-lingual reports w.r.t. boilerplate text

    Hi,
    We need to design reports and report templates that are multi-lingual with respect to the boilerplate text in them.
    How could this be done, if at all?
    I am a bit familiar with the ideas about NLS parameters used to translate and format data that comes from the database, error messages etc., from other OTN posts and Reports documentation.
    NLS stuff is NOT what I'm asking about.
    Also, I don't think I need to mix languages in one report (or maybe is this part of a possible solution?)
    Can I design a report which dynamically displays its boilerplate text parts in different languages, depending on the Windows locale of the user invoking the report?
    Can I put all the boilerplate translations inside the report or some report 'configuration' file, rather than somewhere in the database?
    If the report is set for batch production and automatic distribution, how would the scheduling mechanism tell the report which language to have its boilerplate text displayed at each invocation?
    I think we'll be using Reports Builder 6i for development and will deploy on 9iAS R2 Reports Services. I'm not the actual developer, so I'm not sure about which Report Builder version will be used.
    Thanks a lot,
    Gabriel Tanase

    hello,
    there are several ways to do it. i guess the most practical way is to actually use the XML customization feature that is available with reports or use translation hub, but since you stated that you are using 6i this is not an option as translation hub is only available from 9i onwards.
    however the XML customziation approach would work for 6i as well. essentailly you create your report and make sure all your boilerplate text items have a uniqe name. then you can create a customization file for each language that then changes the content of each of the poilerpalte items. those can be applied at runtime or in batch.
    as for the scheduling, you would need to either pass in a parameter naming the customization file or simply run the correct language version of the report.
    thanks,
    ph.

  • Multi Lingual Report issue

    Hi Everyone,
    All our reports are multi lingual. By setting the "NLS_LANG" parameter the report displays french or spanish or english strings. The problem I am having is when I open this report in the report builder and make any change and save it, the report no longer displays the strings based on the "NLS_LANG" parameter. It only displays the strings in one language based on the "NLS_LANG" value that was set, when the report was saved.
    Can any one help me with this issue. How do I save this report so that it continues to display strings/boiler plates based on the "NLS_LANG" parameter.
    Thanks!

    Post Author: sharonmtowler
    CA Forum: General
    did you try to surpress the field not the section if there is no data. there is also underlaying the section, so it appears to print next to the other section,
    go to format section. select underlay  for the section above (details A) that may help

  • How to generate multi-lingual applications with Designer?

    In Designer 10g we have the definitions of hundreds of tables and views and
    forms/reports modules. Currently all texts (prompts, hints, comments, help texts, etc) are in Dutch. Because of new customers in Germany, we now have to translate everything into German (and in the future also to French and English etc).
    We know that we can use Translation Hub to translate forms and reports,
    however, many tables/columns are used by more modules (sometimes 10 or more). So, the translation of each module with the Hub is very inefficient.
    We are wondering if there are easier ways. For example, when we translate a
    prompt of a tablecolumn, Designer (Headstart) can update all related module items. So, with one translation, we in fact translate many modules at once.
    We could perhaps make a copy of the application, but that will work very
    inefficiently because each modification has to be done on multiple
    applications.
    Has anyone a genius solution for this?
    Thanks for your help, Jan Willem

    I hate to be the one to break it to you, but there isn't a genius solution out there for you. And it isn't a Designer problem, it's an application architecture problem.
    You'll notice that Headstart (since you've looked at that) does two things for you. One is that it has utilities to go update many items for you. Two is that it uses standard error and LOV tables which are multi-lingual based. You enter your messages and lookups in many languages (many rows per code, one per language) and the Headstart library logic displays the right row based on the code and the NLS setting. architecture.
    In your case, where you have hard-coded everything, if you don't want to re-architect things, then your only solution is to clone things. Probably best off (based on other client experience) to just keep the single model in your base language, develop and gen as you have been, and then work your way through all the source code (database and application components) to do all the translation (as noted the Translation Hub can help some), and then implement each result. At least that way you know all the functional logic works. So you're not introducing any bugs (except for when the translated info is longer then the base info -- as we have here in Canada where French takes up more space then English). sorry. ugly.

  • Multi-lingual Translator component in java?

    hello all,
    I want to make a Multi-lingual Translator component in java
    which can be used to convert any existing web site(developed
    using any technology asp/jsp etc) to any foreign language
    viz german, spanish,italian and other major foreign
    languages.
    Please let me know how do i proceed in java with respect to
    the following?:
    1. It has to be developed as a component in java such that
    it can be included in any existing web site as a control
    which simply gives the users the option of converting
    either the current web page from english to any other
    foreign language or simply the entire web site from
    english to any other foreign language
         How to develop it as a component so that it can be
    independently merged into any existing web site(whether
    asp or jsp) as a control? which technology should i be
    using here EJB's or Applets or any other?
    I personally think it can be a applet because with EJB's
    container/application server is required.
    what do you all suggest?
    2. I don't want to use any free translators that are
    available freely on net these days, because a lot of them
    re-directs to their own translation page and includes
    their own banners and or advertisements etc., which may
    not be feasible with us as we have to include this
    utility on our company's web sites
    3. How much time it should take approximately to develop?
    4. If there's any free tool available however without the
    limitations as mentioned above in point 2, then i am not
    averse to using it please let me know if such a tool is
    available.
    5. Please also let me know if there exists already a multi-
    lingual component in java with source code freely
    available anywhere on net, then please give me the link.
    This will help me save a lot of time in developing it.
    Please let me know the answers to above of my queries and
    u"ll be doing a great deal of help here.
    Thanks in advance
    sd76

    JS supports UTF-8... assuming the browser has the proper fonts.
    // _lang.jsp
    <%@ page language="java" contentType="text/html; charset=UTF-8" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Language Test</title>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body bgcolor="#ffffff" background="" text="#000000" link="#ff0000" vlink="#800000" alink="#ff00ff">
    <%
    request.setCharacterEncoding("UTF-8");
    String str = "\u7528\u6237\u540d";
    String name = request.getParameter("name");
    // OR instead of setCharacterEncoding...
    //if(name != null) {
    //     name = new String(name.getBytes("ISO8859_1"), "UTF8");
    System.out.println(application.getRealPath("/"));
    System.out.println(application.getRealPath("/src"));
    %>
    req enc: <%= request.getCharacterEncoding() %><br />
    rsp enc: <%= response.getCharacterEncoding() %><br />
    str: <%= str %><br />
    name: <%= name %><br />
    <script language="Javascript">
    alert('<%= name %>'); // should show correctly
    </script>
    <form method="POST" action="_lang.jsp">
    Name: <input type="text" name="name" value="" >
    <input type="submit" name="submit" value="Submit POST" />
    </form>
    <br />
    <form method="GET" action="_lang.jsp">
    Name: <input type="text" name="name" value="" >
    <input type="submit" name="submit" value="Submit GET" />
    </form>
    </body>
    </html>

  • Multi-lingual javascript support

    Hi all,
    I am facing a problem trying to make my site multi-lingual. I have made necessary changes in my database to handle multi-lingual data, but the problem is how do i check the data entered by the user in any language other than english at the client side itself.
    Has anyone worked on this or does anyone has material regarding how to support multi-lingual javascript validations.
    thanks in advance
    Abhi

    Wrong forum and cross posted as well.....
    http://forum.java.sun.com/thread.jsp?thread=549121&forum=45&message=2678057

  • Multi Lingual Titles

    We are developing a fully multi-lingual system and require the text displayed as report titles / headings to vary dependent on a 'locale' parameter. This does not appear to be possible - am I missing something?

    Is is possible with Oracle Reports!
    See the sample page on otn:
    http://web39-04.us.oracle.com/products/reports/htdocs/getstart/examples/live_examples/multibyte/utf8demo.pdf
    Please see more information from otn how Oracle Reports 9i support multi-languages.
    Thanks,
    -Shaun

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Urgent...Error while running a jsp report in Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
    at MyReport.jspService(MyReport.jsp:4)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Multi Lingual String not getting displayed properly with Java 1.5.4

    Hi,
    I have a strange problem and i think the problem is due to java 1.5.4.
    Problem is:
    My application was previously deployed on weblogic6.1 server and jdk used was 1.3.1
    After i migrated my application to weblogic 9.2 and started using jdk 1.5.4, i am not able to correctly view the data which is stored in different languages on browser.
    Some more details:
    OS - Linux.
    Database - Informix 9.2
    Intresting part is :
    If i enter a new multi lingual string from my application (deployed on WLS 9.2 with JDK 1.5.4) and store it in database, and then try to retreive it, it is displayed correctly.
    Issue arises only when the multi lingual string created and stored in database from my old application (deployed on WLS 6.1 with JDK 1.3.1) is retrieved and displayed in the new application (WLS 9.2 with JDK 1.5.4).
    Hope my issue is clear and if any one has any clue as to how to solve this issue. Kindly help

    One thread is enough.
    http://forum.java.sun.com/thread.jspa?messageID=9651015

  • Summary fields in the JSP report

    I created a JSP report using Oracle 9i Reports Developer using report wizard. It has a %Total field on one of the columns.
    It is running good for the first time. But when I am closing and reopening the report the Summary column is showing a null value in the source column. And it would not run the report.

    Puvan,
    I figured out the problem myself. It is not a version issue.
    I was using a sum function on a decode expression in the sql command. The % total was applied on that sum expression. Every time I was reopening the report the sum expression was getting created in a new group.
    When I gave an alias for the sum(decode(xyz)) expression it is working fine now.
    I would still consider that as an issue with Reports Developer.
    FYI...
    Ritendra.

  • Calling a JSP Report From HTML parameter form

    Hi,
    I m trying to run a JSP Report from a HTML parameter Form. The JSP reports requires a parameter named userid in the URL with a valid value for database connection.
    eg. URL "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?userid=sysapps/system@trt1". We have created a variable on the server named "parmformjsp" with a value "sysapps/system@trt1". Now i use this variable in the URL as follows, eg. "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?parmformjsp".
    When i use this URL to call another JSP report from a JSP report it works fine, but the same does not work when calling a JSP report from a HTML form.
    the code for HTML parameter form calling a report is as follows,
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Parameter Form</title>
    </head>
    <body>
    <p>Parameter Form</p>
    <form name="form1" method="GET"
    action="http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_custrns.jsp?parmformjsp">
    <p>From Date<input type="text" name="p_fmdate" size="20"></p>
    <p>To Date<input type="text" name="p_todate" size="20"></p>
    <p> </p>
    <p><input type="submit" ><input type="reset" value="Reset" name="B2"></p>
    </form>
    <p> </p>
    </body>
    </html>
    If i create an input parameter named "userid" with a valid database connection value, remove the ?parmformjsp part from the action URL then it works fine. How can i call the JSP report using the parmformjsp variable name instead of using the "userid" clause in the URL.Can anyone suggest any workaround....
    Thanks & Best Regards,
    Unmesh

    do it like this...
    DECLARE
    pl_id ParamList := Get_Parameter_List('tmpdata');
    BEGIN
    IF NOT Id_Null(pl_id) THEN
      Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'ROUTE_CARD_CONTROL', TEXT_PARAMETER, :ROUTE_CARD.ROUTE_CARD_CONTROL);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'D:\STL_FINAL\CHPREPORTS_FINAL\ROUTE_CARD.REP', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END; what exactly happens when you call the report. if its showing the blank page... may be you are not passing the right parameter name. cross-check that your parameter name in the report is 'ROUTE_CARD_CONTROL'.

  • JSP Report in Jdeveloper 9.0.3.1!!!

    Hi,
    I've a BC4J jsp application developed by Jdeveloper 9.0.3.1. I need to include a jsp report in my project.
    Is it possible to do it? How?
    If this is impossible, how can I create a "pdf" format report (or something of similar)?
    Tanks in advance.

    Harald,
    We just got Apache's XSL_FO transformer, XML into PDF working under 902 oc4j.
    It's a CPU hog, as one would guess.
    Do you know if the tools you mentioned use a more CPU effiicient technology than XSL transform or are more
    efficient than Apache's XSL_FO?
    Thanks, curt

  • Problems while Running a JSP report

    Hello
    I am Running a JSP report and got NullPointerException at oracle.reports.jsp.ReportTag.doStartTag(..). I even tested the sample report provided in the Application server and even that gave the same exception as follows:
    Reports Error Page
    Thu Mar 02 13:56:49 IST 2006
    javax.servlet.jsp.JspException: REP-52266: The in-process Reports Server rep_ultra1_oracleas6 failed to start.java.lang.InterruptedException
    javax.servlet.jsp.JspException: REP-52266: The in-process Reports Server rep_ultra1_oracleas6 failed to start.java.lang.InterruptedException
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at examples.tools._test._jspService(_test.java:52)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Kindly provide a solution for this problem. Its quite urgent to solve this issue.
    With regards

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • PL/SQL error in JSP Reports

    Hi,
    I am trying to create a simple PL/SQL in a JSP report thar returns a column's value as below:
    Return :RES_COM_CODE ;
    I am getting an error as below:
    javax.servlet.jsp.JspException: REP-0724: Cannot get the value of Column 'RES_COM_CODE' here. REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    Can someone please tell me how to solve the error above? The CF_1 is in the same group as 'RES_COM_CODE' .
    Thank you in advance.
    Cheers,
    Tan

    it seems to be a bug in oracle.
    you need to apply the patchset 9.0.4.1 to get this issue resolved.
    .0.4.1 3240140 This fix will solve the REP-0724 error (and engine crash/hang) which you web only report and formula column accessing database columns in the group

Maybe you are looking for

  • How to Clean Ink Stains on HP 3050 All-in-One J610 series

    Hello -  I have an HP Deskjet 3050 All-in-One J610 series printer.  I am a Mac User and am getting notifications with each document I print that I need to "Clean Ink Stains on Printer".  I have put brand new black and tricolor HP ink cartridges, but

  • Business Catalyst and Adobe Edge Animate

    I have created an animation in Edge Illustrate.  I place it into my website using Dreamweaver CS6 as my editor.  The animation runs fine in preview in browser, however when uploaded to Business Catalyst, it does not run.  Does someone have experience

  • How to close Acrobat.exe from the task manager processes through plug-in?

    I have a plug-in in which we have a functionality of defining some keys and they are displayed as annotations on the PDF. Now, if the user defines such a key, an annot (i.e.a rectangular box) gets displayed on the PDF and if the user does not click c

  • Editing expressions in non-development systems.

    Our first use of BRF+ met a large success among our business key users and  they are requesting now the maintenance of some decision tables. We therefore followed the guidelines of document "editing BRF+ component in non-development systems" and impl

  • HT204266 I updated an app and got charged €100 how can I undo the update and get my money back?

    I had log me in and seen that there was an update so I gave my password and loaded the update on my iPad , I just got notification that I have been charged €100 for this I want to reverse the up grade as I don't use logmein that often and can do with