Static text translation : Internacionalization

Greetings,
I'm starting with jdeveloper 10.1.2 and jheadstart 10.1.2.
I would like to translate a sample HR application to German language, mainly the
user interface texts, like "Edit", "Save" , etc... and error/status messages, such like "Filter by" or "JHS-00101: No changes to save"...
I've already read the chapter three of jheadstsrt developer guide, but that's not sufficient.
when ApplicationResources.properties defines
SAVE_BUTTON_LABEL_savehome=&Save
where is defined the &Save reference ?
Any advice is more than welcome.
Thanks
Message was edited by:
Buondi

Once again thanks Steven,
I don't think I've explained my self in the right way.
In GeneratorText_en.properties I can see these definitions:
SAVE_BUTTON_LABEL = &Save
could you please explain if "&Save" is the end value (in that case what means the "&") or a reference to a variable where the global definition of "&Save" is defined. If its a reference one could only change the value once instead of changing it several times.
SELECT_TITLE = Select {0}
Whats the porpoise of {0} ?
Regards,

Similar Messages

  • Howto add static text in xsl stylesheet

    Hi,
    I'am having problems trying to write a static text to a fixed length file using the file adapter.
    I'am using the FlatStructure sample provided.
    When I run the sample, there's no problem... But when I remove the mapping from tns:State <-> fix:State (in addr1Toaddr2.xsl) and change the fix:State to a static text (Set Text option in right mouse popup menu) then this text will NOT show up in the written fixed length file.
    My addr1Toaddr2.xsl looks like this:
    <?xml version="1.0" encoding="windows-1252"?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="XSD">
    <schema location="file://D:/OraBPELPM_2/integration/bpelpm/orabpel/samples/tutorials/121.FileAdapter/FlatStructure/address-csv.xsd"/>
    <rootElement name="Root-Element" namespace="http://xmlns.oracle.com/pcbpel/demoSchema/csv"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="file://D:/OraBPELPM_2/integration/bpelpm/orabpel/samples/tutorials/121.FileAdapter/FlatStructure/address-fixedLength.xsd"/>
    <rootElement name="Root-Element" namespace="http://xmlns.oracle.com/pcbpel/demoSchema/fixedLength"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 1.0 AT [WED MAY 18 11:29:24 CEST 2005]. -->
    ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlns.oracle.com/pcbpel/demoSchema/csv" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" xmlns:fix="http://xmlns.oracle.com/pcbpel/demoSchema/fixedLength" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" exclude-result-prefixes="xsl xsd tns nxsd fix ldap xp20 bpws ora orcl">
    <xsl:template match="/">
    <fix:Root-Element>
    <xsl:for-each select="/tns:Root-Element/tns:Address">
    <fix:Address>
    <fix:Name>
    <xsl:value-of select="tns:Name"/>
    </fix:Name>
    <fix:Street>
    <xsl:value-of select="concat(tns:Street1,' ',tns:Street2)"/>
    </fix:Street>
    <fix:City>
    <xsl:value-of select="string('C2345678901')"/>
    </fix:City>
    <fix:State>
    <xsl:text disable-output-escaping="no">D2345678901
    </xsl:text>
    </fix:State>
    <fix:Country>
    <xsl:value-of select="string('E234567')"/>
    </fix:Country>
    </fix:Address>
    </xsl:for-each>
    </fix:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Note:
    The construct "<xsl:value-of select="string('E234567')"/>" is my 'patch'to write a static text.
    Can you tell me what I'am doing wrong? Or is this a bug...
    greetings,
    Jan.

    Hi ,
    I am assuming you are using Oracle JDeveloper XSL Mapper for designing the XSL. Currently , our XSL Mapper has a limitation due to that whenever you add any static text to target node in mapper, it adds an extra "\n" with that static text. And so our Native format translator doesn't find the definition for that and that's why it doesn't get printed in the file.
    Workaround [although little painful] is remove those extra "\n" after you finish your XSL design.
    We are working to fix this issue asap.
    HTH.
    Thanks,
    Rakesh

  • Static Text to Strings

    HI,
    I am simply trying to obtain the static text from a field (BP Name on Business Partner Form) and convert it to string as part of a message.
                    Dim oBPString As String
                    Dim oItem As SAPbouiCOM.Item
                    Dim oBPForm As SAPbouiCOM.Form
                    oBPForm = oApp.Forms.GetForm(134, 0)
                    oItem = oBPForm.Items.Item(7)
                    oBPString = oItem.Specific
                    oApp.MessageBox(oBPString" additional text")
    How do I display/convert current edit box items text to a string for such purposes?

    Hi,
    Use the String.Format method. Otherwise use "7" instead of 7
            Dim oBPString As String
            Dim oItem As SAPbouiCOM.Item
            Dim oBPForm As SAPbouiCOM.Form
            oBPForm = oApp.Forms.GetForm(134, 0)
            oItem = oBPForm.Items.Item("7")
            oBPString = oItem.Specific
            oApp.MessageBox(String.Format("{0} additional text", oBPString))
    or in one line
    oApp.MessageBox(String.Format("{0} additional text",
    oBPForm.Items.Item("7").Specific.string))
    Regards
    J.
    ps: do not forget the points....
    Edited by: Janos  Nagy on Jul 23, 2008 3:14 PM

  • Static text in ALV Report

    Hi,
    I have a requirement to create an ALV report which has to display some static text on each page. In the format below, the line item texts and sub total texts will be the same for each page. Each page displays data for one company code. The company code should be displayed on the top of page.
    Line Items    Sub totals          Amounts
    Line item 1                              Amt1
    Line item 2                              Amt2
    Line item 3                              Amt3
                            Sub total          1-3
    Line item 4                              Amt4
    Line item 5                              Amt5
                            Sub total        1-5           
                                                 Total
    1. How to display the same item texts on each page? Can I use text symbols to avoid hard coding?
    2. How do I get sub totals?
    3. Display company code on top of page according to the viewed page?
    any sample code greatly appreciated.
    Thanks,
    MJ

    Hi,
    I have a requirement to create an ALV report which has to display some static text on each page. In the format below, the line item texts and sub total texts will be the same for each page. Each page displays data for one company code. The company code should be displayed on the top of page.
    Line Items                       Amounts
    Line item 1                        Amt1
    Line item 2                        Amt2
    Line item 3                        Amt3
    Sub total                             1-3
    Line item 4                         Amt4
    Line item 5                         Amt5
    Sub total                            1-5           
       Total                               1-5
    1. How to display the same item texts on each page? Can I use text symbols to avoid hard coding?
    2. How do I get sub totals?
    3. Display company code on top of page according to the viewed page?
    any sample code greatly appreciated.
    Thanks,
    MJ

  • Need to have static text on every page of a MS Excel report exported from SSRS

    I need to place an object with a brief static text message in a report using SQL Server Reporting Services 2008 R2.
    When that report is exported to MS Excel from Report Manager and viewed, this static text object must appear "once" at the bottom of every page without using "print preview."
    Furthermore, it must appear only "once" on every page regardless of both the number of groups as well as the number of records in each group.
    Thanks in advance.
    Sincerely,
    Mike

    Hi Mike,
    By default, Excel does not have a concept of a "page" in "Normal" view. So when we export the report to excel and open the file, Excel automatically hides the footers as they are displayed in "Normal" view. Since this issue is relevant to Excel, if we want
    to see the page footer in Excel, we can try to switch to "Page Layout" view in the View Tab. Just as you said, they also shown up while printing.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Displaying user selection from drop down list in static text on master page

    Hello,
    I am using LC 7.0 at workk and I have hit a road block.
    I have a drop down list at the top of the form. Once the user makes a selection, I want to take that value and paste it in static text located on the master page. I can't seem to get it to work.
    Please help!!!

    Hi,
    Place the Drop Down list on form
    Place text object(s) on master page
    here is the script to display the value and/or text of drop down
    Script will be on Drop Down list events
    Calculate event to display value of DD - FormCalc
    form1.pageSet.Page1.StaticText1.rawValue = this.rawValue;
    Change event to display Text of DD - JavaScript
    form1.pageSet.Page1.StaticText2.rawValue = xfa.event.newText;
    SAVE the form as dynamic pdf.
    Hope this will help.
    Thanks,
    Raghu.

  • How to use formatted text in a static text/laben(or other) component?

    Hello everyone,
    my web application reads a VARCHAR from a SQL Server database which is bound to a static text/label component. The problem is that I don't manage to include line breaks this way.
    Is there any way to do it? It doesn't have to be using a static text or label component, I just want to display formatted text on a web page which was read from a database.
    Thank you very much for your help,
    Arthur

    unfortunately it doesn't work this way(or I am doing it wrong as I don't know anything about css)
    If I set white-space: nowrap the text is displayed in one single line ( so probably I implemented it the right way)
    but with white-space:pre he still ignores all the whitespaces!
    reading the same text (from a microsoft sql server table)with a textarea component all whitespaces and line breaks are shown! there has to be a way to make the static text or label component act this way(I don't want to use the textarea component because it's ugly and doesn't serve for my purpose).
    can anybody help me?
    edit: observation:
    if I use "nowrap" for the textarea component he still keeps all whitespaces WITHIN the string but displays the whole string in one line
    but somehow he deletes white spaces in the beginning of the string
    the static text/label components delete all whitespaces before AND within the string
    Edited by: Arthur... on Feb 15, 2008 9:34 AM

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

  • Presentation Variable in Legend or Static Text

    Hi Experts,
    Is it possible to call the Presentation variable in Legend or Static Text View.
    Please let me know how can I achive this.
    Thanks,
    Balaa...

    Take a look at this. It shows you where you can use session, repository and presentation variables and their syntax:
    http://shivabizint.files.wordpress.com/2008/10/obiee-variables-overview.jpg

  • Feature Request: Option to wrap static text.

    It would be really nice (in fact, demanded by my current client) to be able to have multi-line static text that appears as a paragraph. Unfortunately, static text is one-line and either stretches out the width of the entire dialog box if you let it or is truncated if you don't.
    Present work-around is to force line-breaks, but that makes for some funny looking alignment, which may not be so "funny" when you see it on the "other" platform...
    Thanks,
    Rob

    I faced the same issue today.  I discovered the "wrap" property applies to static_texts as well as edit_fields.   It doesn't appear to be documented at all in the SDK API Reference, while it is documented in the SDK Programmers Guide as applying to edit_fields but not static_texts.  Here's a test program illustrating its use:
    local LrDialogs = import 'LrDialogs'
    local LrFunctionContext = import 'LrFunctionContext'
    local LrView = import 'LrView'
    local f = LrView.osFactory()
    local text = [=[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed feugiat quam nec mauris auctor dignissim eu sit amet sapien. Nullam scelerisque lacus libero. Donec iaculis lacinia viverra. Nulla suscipit viverra condimentum. Nam id diam metus, non ullamcorper justo. Curabitur mollis urna sed ligula molestie ullamcorper convallis nisl adipiscing. Suspendisse blandit lobortis risus non laoreet. Proin dictum, nulla a varius faucibus, enim elit pharetra tortor, a commodo mi nulla et leo. Cras in varius odio. Donec erat neque, bibendum at elementum sit amet, tincidunt a nunc. Donec tincidunt aliquet libero non vulputate. Proin eget nibh ante. Curabitur tincidunt felis quis turpis.]=]
    LrFunctionContext.callWithContext ("test", function (context)
        text = string.gsub (text, "%c", " ")
        LrDialogs.presentModalDialog {title = "Test", contents = f:column {
            f:edit_field {value = text, wrap = true, width_in_chars = 40,
                height_in_lines = 10, enabled = false},
            f:static_text {title = text, wrap = true, width_in_chars = 40,
                height_in_lines = 10}}}
        end)

  • Inserting static text in between rows returned from a pivot table

    Is there a way to type static text (eg. “Note that the data for Land has an accuracy of 98%”) in between rows returned from the dataset in the rtf template. The alternative would be to break the BI analysis report (which is the source of the template data) into 2 parts and then insert each part into the template one below the other with the text typed in between.

    Oracle support has confirmed that this requirement is not possible to implement

  • How to add long text for existing static text in Adobe forms.

    Hi all,
    I have a requirement that I need to add  a long text for existing Static text in my adobe form
    1) Counter part inputs
    2) Mack Inputs.
    These two are static texts, I need to add the long text in the following manner.
    1)Counter Part Inputs(zds220)
    2)mack Inouts(zds340)
    Please suggest me how to do it.
    Thank You.
    Suneel.

    Hi Nitin Sikka,
    Thanks for your reply. I found solution for the above issue. I need to change the text to text field and  binding to that text field.
    Thank You,
    Suneel.

  • Static text in Adobe forms

    Hello Experts,
    I have requirement to create a adobe form which have 90% of static text .I want to know to display those text should i go with standard text(SO10) ot should i directly display it in text-field on the form layout.Or there is any other way to display.
    Which is best? Kindly suggest.
    Thank you,
    Shweta

    Hi Shweta,
    I started working on adobe in late 2010. I prefer and would personally go for SO10 instead of adding  text in text-field. Adding texts under one TextName would give a clear picture for further enhancements instead of adding the texts one by one in text fields.
    We do have a Wiki on SCN about adding static texts to adobe forms using SO10.  Here it goes:
    [Using of Standard Text (SO10) in Adobe Form|http://wiki.sdn.sap.com/wiki/display/ABAP/UsingofStandardText(SO10)+inAdobe+Form]

  • Copy static text from one MIF documents to other MIF document

    Hi All,
    I'm trying to copy the text frames and their contents from one document to other document.
    I"m following the bellow steps..!
    1. Open Template1.mif by F_ApiSimpleOpen()
    2. Create new document called "Template2.mif" using "F_ApiCustomDoc"
    3. Import the required formats by
    F_ApiSimpleImportFormats(Template2,Template1,FF_UFF_COLOR |FF_UFF_COMBINED_FONTS |FF_UFF_COND |FF_UFF_DOCUMENT_PROPS |FF_UFF_FONT |FF_UFF_MATH |FF_UFF_PAGE |FF_UFF_PGF |FF_UFF_TABLE |FF_UFF_VAR))
    4. Read the text frames from "Template1" and create new text frame in Template2
         pgfId = F_ApiGetId(FV_SessionId, Template1, FP_FirstFlowInDoc);
         while (pgfid) {
         //     create a new text frame in Template2
              tFrameId = F_ApiNewGraphicObject(Template2, FO_TextFrame, pFrameId);
              objGraphicId = F_ApiGetId(Template1, pgfId, FP_FirstTextFrameInFlow);
         //assigning the properties of text frames
              propspdf = F_ApiGetProps(docIdfrom, objGraphicId);
              F_ApiSetProps(docIdto, tFrameId,&propspdf);
    Till this step, it is working as expected.
    Next I need to read the paragraphs of each text frame and put only static text available in the TEXT FRAMES OF Template1 in newly crated TEXT FRAMES of Template2. But ignore the variables in the text frames.
    I tried to work with the following piece of code
         doc2PgfId = F_ApiGetId(docIdfrom, objGraphicId, FP_FirstPgf);
         doc1PgfId = F_ApiGetId(docIdto, tFrameId, FP_FirstPgf);
         while (doc2PgfId && doc1PgfId)
                   F_ApiDeallocatePropVals(&propspdf);
                   tispdf = F_ApiGetText(docIdfrom, doc2PgfId, FTI_String|FTI_PgfBegin|FTI_PgfEnd);
                   tisspdf = F_ApiGetText(docIdto, doc1PgfId, FTI_String);
                   n=tispdf.len;
                   n1=tisspdf.len;
                   for(i=0; i<tispdf.len;i++){
                         ti = &tispdf.val[i];
                         tiT = &tisspdf.val[i];
                         //compare the text type and handle each text item appropriately
                         switch(ti->dataType){
                         //handle normal free flowing text
                          case(FTI_String):
                           //F_ApiAlert("In String", FF_ALERT_CONTINUE_NOTE);
                           tr.beg.objId = pgfId;
                           tr.beg.offset = ti->offset;
                           trT.beg.objId = tr.beg.objId;
                           trT.beg.offset = tr.beg.offset;
                        F_ApiDeallocatePropVals(&props);
                        props = F_ApiGetTextProps(docIdfrom, &tr.beg);
                        F_ApiSetTextProps(docIdto, &trT.beg,&props);
                        name1=(StringT)ti->u.sdata;
                        textLoc=F_ApiAddText(docIdto, &trT.beg,name1);
            //textLoc.objId = pgfId1;
            //textLoc.offset = textLoc.offset;
            //if the text string is a part of a variable then
            //it would have been taken care of so ignore it
            break;
           case(FTI_PgfBegin):
                      pgfId = ti->u.idata;
                      pgfId1 = tiT->u.idata;
                      propspdf = F_ApiGetProps(docIdfrom, pgfId);
                      F_ApiSetProps(docIdto, pgfId1,&propspdf);
                       break;
           case(FTI_PgfEnd):
                 pgfId = 0;
                 pgfId1= 0;
                 textLoc.offset=0;
                 bPgfalive = False;
                 break;
         //Get ID of next pgf in frame
    where am I going wrong? Is there any simple way of doing it?
    How do I go ahead with this? Please help..!
    Thanks,
    Basav

    Hi Michael,
    Thanks for quick reply..!
    There was a piece of code which validates whether the text frame I needed exists or not. I intentionally removed so as to not to confuse the reader.
    Let me give you a clear picture that what I want to do..!
    I've a MIF file and XML file that has the details of text frames and its contents in the MIF. XML looks like
    <?xml version="1.0" encoding="UTF-8"?>
    <MyProjectXML>
    <TextFrame frame="fr18111dd"><P>Basava</P></TextFrame>
    <TextFrame frame="fr224362cc"><P>Prabhu</P></TextFrame>
    <TextFrame frame="fr2547"><P>5 Year Performance (US Dollar)</P></TextFrame>
    </MyProjectXML>
    My MIF file has more than 50  named text frames. Some of them are in XML file, like - fr18111dd, fr224362cc,fr2547. These text frames have the static text,variables and tables. [ Tables I've kept it aside to work later for now]
    What I need -
    Need a MIF file that has frames available in XML file and replace the variables with the values given in <P> tag and keep the static text as it is.
    I'm trying the other way now, Open the MIF file and delete all the text frames except the frames mentioned in the XML file and save as new file.
    Let me know if I'm doing anything wrong here..! That will save my time and effort.
    Am I clear on my query? and what I wanted to achive ? Let me know otherwise..!
    Thanks,
    Basav

  • Xfa.host.setfocus -- to an object e.g. picture or static text etc?

    I can get the setfocus to target another input field - but can work out how (or if it can) to get it to focus the screen to an image or static text component.
    The path selecton tool in the script panel just stays that impassive red circle
    issue arises as selections from radio group opens largish subform with focus set to it's first field - and given layout radio list is lost out the top of the screen (as it were) so we put in a "made the wrong choice? click here to go back" style of button on the top of each subform -
    as the radio button selection displays the subfields using the radiobuttons as the target does not work (get into an event loop)
    so we need something else to target off the go back - i was hoping the title graphic image or static text but cant work it out
    i though the documentation said focus could do images but i cant get it to,
    thanks for any pointers/code line

    Hi,
    I don't think you can focus on static objects (static text, static images).
    I think the down and dirty workaround is your best option. Maybe make the button very small (0.01in) and you can always place a static image (icon) over it to mask the button.
    N.

Maybe you are looking for

  • T code reqd for External No range which is reqd at the time of posting AFAB

    Hi Gurus, While i am running AFAB,the system shows that i have to give external no range for doc type.I have given no range in FBN1 but system denies.Can pl provide T code for external no range which is reqd for Depn run. Pl advise. Regards, Samar

  • Problem in Screep Painter Layout

    Hi , I tried to launch the screenpainter SE51.When  i try to display the layout its not showing me the exact layout screen but just an Editor with lines. Please help. Thanks, Am

  • Thinkvantage toolbox is slow

    The thinkvantage toolbox looks like it should be useful. Two things prevent from being so. Firstly, I have to give it permission to run every time I run it on windows 7, secondly, it's very slow to load. As a result, on my x61 tablet, I prefer the ta

  • Macbook really slow at startup

    for the first 5 mins, my book is really slow. itunes music has gaps in the songs, and firefox loads really slowly. is there a quick way to speed up my macbook?

  • Move Time Machine files from old TimeCapsule drive to new TimeCapsule

    My old 1TB Time Capsule died from bad power supply. I replaced it with a new 3TB Time Capsule and started backing up. I removed the hard drive from the broken 1TB Time Capsule and put it in a new hard drive enclosure. Now, I'd like to add the old Tim