Using XLIFF for template translation

Hello,
What I have done
I have RTF template I use to generate XLIF. I have inserted my translation in this xlif file.
<file source-language="FR-FR" target-language="en-gb" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<source>Fiche Projet à fin [&amp;1:ARRETE]</source>
<target>Project details to [&amp;1:ARRETE]</target>
We are using BI Publisher API to generate PDF reports. I have added
processor.setData(dataXmlInput);
processor.setTemplate(xslTemplateInput);
processor.setXLIFF(xliffFile);
processor.setLocale ("en-gb");
ByteArrayOutputStream pdfOutput = new ByteArrayOutputStream();
processor.setOutput(pdfOutput);
processor.setOutputFormat(toFOProcessorFormat(outputFileFormat));
The program runs fine but no translation is done.
This is pretty urgent? Can anybody help or give recommendations on the way to use it, to set locale...?
Thanks in advance
Edited by: jean-francois on Apr 27, 2009 1:31 AM

Apparently this is not a widely used method.
Can anyone tell me what is the best way to implement multilingual reporting using BI Publisher API, should we duplicate RTF templates?

Similar Messages

  • How to use MARS for NAT Translation Analysis...

    Hi All,
    I was wondering if we could use MARS to do NAT logging. To be more specific, currently we are using a PUX Firewall that does dynamic nat/pat. We log NAT Translations to syslog server and if further required we search into the files to find what we want.
    I was wondering if anyone had tried to send translation logs to MARS and then doing a custom report for NAT Translations (i.e. by source, destination, time etc).
    Regards.

    Hello Nicolas,
    Use the following steps :
    Step 1
    Locate the File “global.properties”
    Drive:\SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\config\custom
    The following values should be present:
    vintela.enabled=true
    idm.realm=Domain Name (u can get the name from C:\Windows\Krb5.ini)
    idm.princ=SPN User
    idm.allowUnsecured=true
    idm.allowNTLM=false
    idm.logger.name=simple
    idm.logger.props=error-log.properties
    Step 2:
    Locate the file “web.xml”
    D:\SAP BusinessObjects\Tomcat6\webapps\dswsbobje\WEB-INF
    Uncomment the Kerberos Proxy Filter and the Kerberos Filter sections to enable Kerberos SSO for Windows Active Directory (secWinAD) authentication. The following options must be specified (the rest are optional)
    idm.realm = SPN user (the same as the default_realm specified in the Krb5.ini file)
    idm.princ = SPN User (the same as specified for idm.princ in the global.properties)
    idm.keytab = (the same as specified for idm.keytab in the global.properties )
    Please note, if you are using the hardcoded password set in Tomcat's Java Options do not make any changes to the keytab lines in the web.xml
    Step 3:
    Backup and edit Drive:\Tomcat6\webapps\dswsbobje\WEB-INF\classes\dsws.properties by setting kerberos.sso to 'true' Restart Tomcat
    KR,
    MD

  • Use Pages for template to commercial printer

    I created a 20 page, 7x7", perfect bound book in Blurb.com which is primarily pictures with a small amount of text.  It has generated a lot of interest since it is very specific to the area in which I live.  A local business wants to stock it and claims it can sell "tons" which is appealing.   The problem I have is getting the unit price down to a reasonable amount.  Even buying in bulk from Blurb I am paying about $8 a unit.  I'm exploring commercial printers and if the pricing seems reasonable I will need to transfer the book to a non-proprietary software.  Pages is an obvious contender but I'm wondering if folks can share their experiences using Pages for this type of project.  I have Photoshop Elements but that seems cumbersome.
    Any comments are appreciated.  Thanks.

    To print your book commercially you will need to reproduce the color faithfully and with all bitmap elements at 300dpi.
    Frankly that is difficult to do from Pages which is designed to print to a users' desktop printers and renders certain parts of the output at 72dpi when exported to pdf which is the usual format for commercial printers.
    1. See if you can find a commercial printer who will accept a Pages file to run through their RIP directly
    2. Always talk to your printer about what they require and what is achievable
    3. Commercial offset works off a different price structure than digital printing. Much of the cost is up front and the greater the print run the more the price comes down. Find out how many books you'll have to print before you beat the $8 you have been quoted by blurb.
    4. As compensation commercial offset, when done correctly, is markedly better quality than digital
    5. Please please please don't use Photoshop Elements or Photoshop they are not DTP software and rendering all your vector objects and text as bitmaps is such a bad idea that of course everyone is doing it now
    Peter

  • Preparing images for Dreamweaver cs3, using InDesign for templates

    Hi, I'm about to start putting all my files together for my
    website, but need to know in what form to save my images. I know
    they should be jpegs or gifs, but what resolution, and what size?
    Should I size them close to the size I want to see them on my
    website? For example if I want to make a little linked (like a
    thumbnail that you click on) image of a painting, and have the full
    size image of that painting open up, should I save that image in
    two different sizes?
    Also, the tutorial I'm learning from says I can make a
    template for use in Dreamweaver, with Photoshop or Illustrator, but
    I'd rather use InDesign. Can I use InDesign files as templates in
    Dreamweaver? If so, in what form should I save them?

    > Can I
    > use InDesign files as templates in Dreamweaver?
    it won't be of any practical use, except to print out and use
    as a guide.
    on the images, make them the PIXEL size they need to be in
    the web page.
    If you aren't sure yet what exact size they will be, make
    them a bit
    oversize. Then after changing the html display size of them
    in dreamweaver
    (click on the image, then press shift key and drag corner of
    image to
    resize) you can jot down the pixel size shown in the dw
    properties
    inspector, and resize the image in an image editor to those
    pixel
    dimensions. For a resolution, just use 72 ppi as a number to
    put there.
    It's the pixel dimension that matters.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Xmlp reports in different languages using XLIFF translation

    We are doing xmlp reports in different languages using XLIFF translation and it is working fine. But for Arabic and Japanese pdf reports printing “????” instead off Arabic and Japanese. Upgraded Adobe Acrobat Reader to 7.0 and down loaded languages support updates but its still not working.
    Are we missing anything?

    Hi,
    I am also facing the same issue. I am also getting "????" instead of Hebrew translation. I am trying to generate PDF file using the XMLP API. It works fine when tried to generate from MS Word using the "Preview Translation" option.
    Please let me know is there any configuration parameters that need to be set.

  • Translation Using Xliff file

    In the Translation Manager, we have a feature of using XLIFF file.
               Could anyone help me in understanding how this works..How this file could be used in Translation manager,
               Is there any automated way by which the Translation happens.
               For e.g, if i want my Universe descriptions to be changed to Dutch or German, is there any automated  manner by  which  the translation could be done , rather than using the Text Editor
    -Sherine

    Hi Joe,
    Is that so..That would be quite a cumbersome task to do...
    Any idea on how the XLIFF file  works along with Translation Manager...
    -Thanks,
    Sherine

  • How to use one WAD template for all the available queries

    Hi,
    I have created a WAD template... Now we have close to 25 queries which will use that template for displaying their output at Portal...
    Is there any way that i don`t have to create multiple copies of my WAD template...
    I.e. all queries would call that same template through portal...

    Hi,
    The Bex report uses the Standard Template 0ANALYSIS_PATTERN while it is executed.
    So if your sure that the look and feel of all the Reports is going to remain same, you don't need to even attach all these Queries to Templates in WAD.
    When you execute the BEx query, it would pick up the standard template and run it in portal.
    But if you want to customize the Report Template:
    1) You can change this standard template 0ANALYSIS_PATTERN  and customize it according to ur requrement in WAD.
    2) Or you can create a copy of this standard template and change it as required. Then change the template in spro (transaction RSCUSTV27) to point to this Z template.
    Let me know if you need more details.
    Regards,
    Forum

  • I'm using Word for Mac. Though there are various instructions on the Internet for modifying the templates, none make sense to me. They instruct to do something I can't follow. I change a template but can't save it to the template folder.

    What the ****.
    OK, I try to change a template using Word for Mac version 14.3.4 2011 edition.
    I make a change to the template but am unable to save the darned thing to the template folder; it asks for a file name like it's a new document. I want to change the blasted template but if I can't save it as a modified template, I've accomplished nothing.
    Does anyone have a solution?
    Thanks

    Support for Microsoft Office for Mac

  • Changing the default location PowerPoint uses for templates

    I do not want to use the default location MS Office initially configures for templates that is buried in some obscure folder on a local machine in that only Office know about.  Instead want to keep my templates in the same location on a company server
    with the rest of my materials so I can access it from my company laptop or from the Virtual machines I am forced to use in other company locations. This way I will have my templates everywhere I work.  When I make changes they are available to me everywhere
    I work and are not buried in a folder on a laptop or a virtual machine in a conference room half a world away. 
    MS Word allows users to configure this default location for templates but no where in PowerPoint can I find any way to configure this location. Previously on my laptop I have been able to configure the default PowerPoint template location, I believe, by
    setting the location in MS Word; however, this is not happening for me now on the virtual machines I am using when away.  I have scoured the Options settings and if it is there it is well hidden.
    To make matters worse I am trying to use what PPT is providing to me while I sort this out and when you try to open "My Templates": there is a message that says:
    "To add a template to My templates, click the File tab, click Save As, click Trusted Templates, and then save the file as a template."
    Of course when I follow these instructions there is no folder named Trusted Templates on the left side of the dialog box.  I am not sure why it is so difficult to allow us to configure this ourselves for each program but apparently it is.

    Hi,
    Please refer to this kb below:
    http://support.microsoft.com/kb/924460/en-us
    As mentioned, if you use Word 2007 or Word 2010 to change the location in which your new templates are saved, you also change the location in which all 2007 Office program templates or all 2010 Office program templates are saved.
    Office programs use one registry key to record the user templates file location, you can browse to the following path to check if it's recorded:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\General
    The user templates location is stored in the
    UserTemplates
    string value.
    If it doesn't exist, try to manually add it, check if this helps. Detailed information can also be found in the kb introduced above.
    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps
    carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry:http://support.microsoft.com/kb/322756/en-us
    Regards,
    Melon Chen
    TechNet Community Support

  • How to use myself JSP template for my projects

    I am using JDev 10. .I realized the default templates of JSP in JDev don't match with my projects so I want to create my own template for JSP Pages. I read some threads in Forum about this problem but I am a beginner, I cannot understand fully and don't know the way to create template nor adding it into Project. Someone can tell me where I can find the tutorials, examples(demo).
    Thank you very much.

    Hi,
    The Bex report uses the Standard Template 0ANALYSIS_PATTERN while it is executed.
    So if your sure that the look and feel of all the Reports is going to remain same, you don't need to even attach all these Queries to Templates in WAD.
    When you execute the BEx query, it would pick up the standard template and run it in portal.
    But if you want to customize the Report Template:
    1) You can change this standard template 0ANALYSIS_PATTERN  and customize it according to ur requrement in WAD.
    2) Or you can create a copy of this standard template and change it as required. Then change the template in spro (transaction RSCUSTV27) to point to this Z template.
    Let me know if you need more details.
    Regards,
    Forum

  • How to use Value Mappings for simple translations?

    Hello,
    I want to use Value Mappings for simple translations in mappings, e.g. from IDoc to Inhouse structures.
    For example unit of quantity:
    IDOC    -->    INHOUSE
    PCE               P
    ABC               A
    How can I use Value Mapping for this? What should be used as Agency, what should be used for Scheme? What about groups? I tried the following: I created a new Value Mapping in Integration Directory:
    - Source Agency: DELVRY05
    - Source Scheme: MENEE (IDoc field name)
    - Target Acency: INHOUSE_DESADV (Name of structure)
    - Target scheme: UNIT (Name of field)
    Then, in the table, I added several lines for translating PCE to P and ABC to A and so on. But I have to define a group name for each line. I used INHOUSE. But than I get one INHOUSE group for each line.
    This seems very complicated for simple translations from A to B. I don't want to use FixValue in Message mappings.
    Any help appreciated.
    Thanks,
    Christoph

    Hello,
    @pavan kumar: Thanks, but I know all Blogs about Value Mappings. That does not help me. And I refer to PI 7.1.
    Lets get it very simple: I want to have exactly the same functionality of "FixValues" as ValueMappings. In 7.1, I need to define a Group for every row / line in the conversion table (e.g. for units of measurement conversion between IDoc and FlatFile). That does not make sense for me, as the Group is always the same, e.g. "Unit of measurement". So I will get dozens of same groups called "Unit of measurement".
    I don't really understand the concept of Groups. Maybe this is just not appropiate for my intenses? Maybe the Group has to be defined as one specific value of Unit of measurement, e.g. "pieces"?
    CHRISTOPH

  • Use of template using CPT1 for charging an additional cost to the product

    Hello,
    I'm trying to charge an additional cost burden to the cost of my product for every base unit produced. (cost estimate)
    I have created a template using transaction CPT1 with sender as Cost Center / Activity Type in environment 001
    The activity type is measured in EA (Eaches) while we make our product in boxes (Product base unit of measure is 'Boxes') with say 20 Eaches going into a Box
    I have maintained an activity price using transaction KP26 at say $0.55 per Each
    I have assigned this template to my costing sheet , valuation area and overhead key using transaction KTPF
    When I now cost the material for costing lot size of a 1000 boxes, it still charges the product with the activity price per Each ($0.55) instead of multiplying  $0.55*20*1000 = $11,000 for a 1000 boxes
    The formula I have chosen in the template against 'Plan quantity ' is in the attachment enclosed:
    I need help with doing the right thing within the template to make it give a cost burden of $11000 for every 1000 boxes costed (costing lot size)

    Didn't realize that you have to use transaction CPTD to charge template overhead to production orders. That's why it was not working. Now it is posting by reading the confirmed yield. But it is still not converting eaches to boxes using the conversion factor in the material master.
    The formula I'm currently using in the template for actual quantity is as under:
    OrderYieldConfirmed / AltQtyFactorFromMaterial( AlternativeQuantityUnit
    = 'BX', Material = OrderMaterialNumber )
    Please tell me what I need to do to the above formula to make it convert boxes to eaches using conversion factor in the material master?
    A similar formula has worked beautifully for 'cost estimate'
    OrderTotalQuantity / AltQtyFactorFromMaterial( AlternativeQuantityUnit =
    'BX', Material = OrderMaterialNumber )

  • We use a doc template to create a purchased part spec document and then save them as pdf formatted files.  These part spec documents are also appended with the datasheets for these purchased parts.  When we want to update/revise the document, is there a m

    We use a doc template to create a purchased part spec document and then save them as pdf formatted files.  These part spec documents are also appended with the datasheets for these purchased parts.  When we want to update/revise the document, is there a method, using Acrobat, to make those updates to the pdf, or must we go back to the doc template and basically generate a new document?
    Also, our resulting pdf documents aren't searchable.  How can we generate pdf documents that are searchable?  I may want to search for a part value or name within the body of these pdf documents, but currently can't do that...very inconvenient.
    Can you assist?

    Not totally sure about the search issue. A lot depends on how you created the PDF and what is in the datasheets you attached (like are they graphics?). The doc portion should be searchable as long as you used print to the Adobe PDF printer or PDF Maker. For your use, it may be that the print is adequate. However, the result should be searchable (unless maybe you had a form with filled in fields and created the PDF with PDF Maker. I think the form data may be retained in form fields and the fields are not searchable. In that case, a print might be a better procedure. (it would help to know the versions of WORD and Acrobat as well as the exact process you used to create the PDF.)
    If the appended data sheets do not change, then you might try opening the original PDF and then using Replace Pages to replace the file created from the DOC file.

  • How to do subtemplate Using XML Publisher Template Builder for Word 5.6.2

    Is it possible to do subtemplate (similar to subreport in crystal report) using XML Publisher Template Builder for Word 5.6.2?. If yes, can anyone explain how to call or import subtemplate from main template?
    Thank you
    V.Piraba

    Hi V. Piraba,
    Here is how it works for me in Microsoft Word 2003. I'm not sure if it will work in Word 5.6.2.
    Creating Subtemplates
    1) Make sure you fill in the “Territory” field when creating Subtemplates. Otherwise there will be no way to import the Subtemplate into another Template. The Import command requires the Territory field to call it from other Templates. You will get a big Java error if you try to import a Subtemplate that does not have the Terriroty field populated.
    Importing Subtemplates
    1) Place the following syntax at the beginning of your XML Publisher template to import a subtemplate (in Oracle Applications)
    <?import:xdo://XDO.[Template Code Name].English.US?>
    Example: <?import:xdo://XDO.WC_SUBTEMPLATE_LOGOS.English.US?>
    2) Use the following commands to importing Subtemplates from local/network drives (outside of Oracle Applications):
    <?import:file:C:/Temp/WC Subtemplate - Logos.rtf?>
    <?import:file:L://Templates/WC Subtemplate - Logos.rtf?>
    <?import: file:///C:WorkChemical.xsl?>
    You can email me at [email protected] if you have further questions.
    Hope this helps!
    Dan

  • Using a UIX Template as a Base for a JSP

    We are looking to use a UIX template to create our "look and feel" across the application, but we have some pages that just need to be written as JSP's. Is there a way to use a UIX template as a base for JSP pages? or do we have to have a different look and feel for JSP and UIX?

    I have a similar problem. I <servletInclude> a data bound JSP and it doesn't render unless I refresh the page. Is this a bug?

Maybe you are looking for

  • Error when consuming Web Service in SAP R/3 ECC 6.0

    Hi to everyone. I have created an asynchronous Web Service in SAP R3, which I want to use in SAP PI later. When I test the Web Service using WS Navigator or XMLSpy the following error occurs: SOAP Runtime Protocol: ABAP Runtime exception: 1F09B73915F

  • Validation of xml files in SAP PI

    Hi Gurus, This is a file to proxy scenario. I am picking the file in XML format using file adapter and sent to SAP for processing the message. Suppose I placed the new.xml file in the FTP server, this is picked by the fle adapter and sent to SAP. But

  • Website login keeps timing out after 15 to 20 minutes

    Since I upgraded to Firefox 7.0, a website that I log into and use continually has started logging me out after 15-20 minutes. I continually clear cookies & cache but it seems to be an unrelated problem. This is the only website I'm having an issue w

  • Does the iphone 4 s work in brazil?

    does the iphone 4s works in brazil?

  • Sending various documents through FAX in PO

    Hi All I had a requirement to FAX various kinds of documents like PDF WORD etc through FAX in Purchase Order. It has to be accessed from Document Management System. Any pointers in this shall be welcomed. Thanks in advance Anuj