How to print out multilingual reports from the main report using Xliff temp

Hi all,
How to print out multilingual reports from the main report using Xliff temp?
When I want main report call subtemplate and finish xliff tranlation
<?for-each@section:INVOICE?><?end for-each?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if trx_number = 142 call Finnish translation and if trx_number =144,
call English translation.
<?for-each@section:INVOICE?><?end for-each?>
<?if:TRX_NUMBER=’142’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
<?if: TRX_NUMBER=’144’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Does anybody know what could be wrong?
BR
Kari

Thanks Amit,
I have two layout, main-layout and sub-layout
Main layout call subtemplate
I have registered layout and xliff-file
Main template
Localized Templates
File Name           Language Territory
XXNS_INVOICE_MAIN.rtf      English
SUB template
Localized Templates
File Name           Language Territory
XXNS_INVOICE_SUB.rtf      English
Translatable Template
File Name           Language      Territory
XXNS_INVOICE_SUB.rtf      English      United States
Available Translations
Language Territory Progress
English Finland Complete
If main report call subtemplate and finish xliff tranlation
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
.....end if;
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
.....end if;
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Do you it's set up problem or program problem
BR
Kari

Similar Messages

  • How to print out a date from the past

    I am trying to print out a date from the past but I cant seem to get It,
    Lets use for example Independece Day,
    How would you write the code in order to print out that exact date?

    Look at the
    [url=http://java.sun.com/javase/6/docs/api/index.html?
    java/util/Date.html]Date APIActually the Calendar class would be better to use, since you can set all the different fields from year to second, plus things like day of week, day of month, week of year, etc.
    too slow
    Message was edited by:
    hunter9000

  • How to print out a contact from the address book?

    I must be missing something very basic.  I select a contact in my address book.  Now, I want to print it... you know things like the contact's name, address, phone number, etc.  When I try printing, I get a blank page.  In the print dialog box, it continues to say "No Addresses ()" below the page preview, this even when I've selected one or multiple contacts in my address book.  Please help!  Thanks!! 

    In the Print dialogue box select Lists in the Style drop down box.

  • Get data in a subreport based on a shared variable from the main report.

    Goodd morning,
    My question/problem is how to manage this scenario.
    I am transfering 2 shared variables (pereiod from /period To, ) from the main report to a subreport and now  i would like to get data in this subreport based on these 2 variables...
    The problem is that i can not find the shared one in select expert icon...
    Could anyone point me to solve this issue?
    Thks for any help.
    Jose Marin
    Crystal Report XI SR3

    Hello Jos,
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How can I delete an item from the main left column of iTunes?

    I'd like to delete an item from the main left hand column in iTunes (the column containing the main headings LIBRARY, STORE, SHARED, PLAYLISTS etc etc). Under the first heading 'LIBRARY' appear the items Library, Music, Movies, iTunes U, Books, Apps and Ringtones. I'd like to remove the item "Library" from that list - it appears immediately after the heading "LIBRARY" and serves no purpose whatsoever. (Neither does it appear to cause any harm, I must say, just a nuisance.) This item does not appear in any of the iTunes viewing options or controls lists. Neither does it appear in iTunes in the other accounts on my Mac and I have yet to see it any other iTunes on any other Mac.
    I've upgraded since about iTunes 8 assuming the problem would eventually disappear through the upgrades but it hasn’t, even through all the providedupgrade increments available for iTunes.
    I'm assuming it's from something I've installed in my main user account at some stage and it entered this item in the iTunes app. But I can't see how to remove it. The only things I can remember installing are "iTunes Batch Column Renamer" and "Join Together", both if which are just Scripts and which I use fairly regularly, but I don't recall either of them installing that particular item.
    Is there any folder I can navigate to to edit the list of items in that main left hand column of iTunes?
    Many thanks in advance for any help offered.

    on second thought, that you have an item "library" is indeed odd - there shouldn't be.
    suggest you try removing iTunes completely (click here and follow the instructions), then reinstall it using the standalone installer from here: http://www.apple.com/itunes/download/.
    note this will not do anything to your media files, playlists, ratings, etc.
    btw, you didn't install any 3rd party tools like this script:
    Change Hidden iTunes Preferences v2.4 
    This application will allow you to invoke hidden iTunes preferences:
    Show "Library" playlist
    Changing view setting is global
    Allow half-stars in ratings
    Hide "Ping" buttons
    Show/hide arrow links -- to either search the iTunes Store or search your library
    Load complete iTunes Store preview before playing
    Create playlists for purchased song collections
    Play songs while importing or converting
    Create file names with track number
    Maintain grid view for Search results
    Option-click zoom button for Mini Player&
    Show buttons horizontally
    Message was edited by: Jolly Giant

  • How to print a specific page from the internet

    I have tried to print a specific page, and get about seven pages that are linked to it, without
    seeing the specific page I wanted printed out. The page settings under printer only lists header and footer
    info, and no choices to print only this page or frame. There is no way to print  one specific page on this printer?
    I always was able to do this  with the Epson printer I just replaced, but unable to with this printer.
    Please help! There must be a way to do this when printing from the internet. Thanks for any help.

    deezire
    Welcome to the HP Community Forum.
    I don't have any idea what you are trying to print, nor do I wish to know.  Smiling.
    The key may be to control this in Print Preview like you would with most things when you are printing from a Browser.
    Manage Print Output with Print Preview
    ========================================================================
    Depending on which browser you are using, you might also be able to make use of Smart Print:
    Downloads and Information:
    HP Printing Software
    Scroll down > look on the right side of the page under Web Page Printing for the HP Smart Print download
    How-To:
    Smart Print Help and FAQ
    Includes: How to update your installed version of Smart Print:
    #6: How do I get the latest version of Smart Print?
    Smart Print updates automatically using the default settings. You can choice to update manually by selecting the "?" on the Smart Print Preview/Print bar located in the upper left corner of Smart Print. Select the Updates tab to get the latest version.
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • How t print out selected values from a Jlist

    hi iam trying to get the selected values from a list to print out as a string but iam getting ,Invalid cast from java.lang.Object[] to java.lang.String.is there any way to get the selected values t print ut as a string?? import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MultipleSelection2 extends JFrame {
    private JList colorList, copyList;
    private JButton copy;
    private String colorNames[] =
    { "Black", "Blue", "Cyan", "Dark Gray", "Gray",
    "Green", "Light Gray", "Magenta", "Orange", "Pink",
    "Red", "White", "Yellow" };
    public MultipleSelection2()
    super( "Multiple Selection Lists" );
    Container c = getContentPane();
    c.setLayout( new FlowLayout() );
    colorList = new JList( colorNames );
    colorList.setVisibleRowCount( 5 );
    colorList.setFixedCellHeight( 15 );
    colorList.setSelectionMode(
    ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
    c.add( new JScrollPane( colorList ) );
    // create copy button
    copy = new JButton( "Copy >>>" );
    copy.addActionListener(
    new ActionListener() {
    public void actionPerformed( ActionEvent e )
    // place selected values in copyList
    copyList.setListData(
    colorList.getSelectedValues());
    String s1 =(String)colorList.getSelectedValues();

    Since the JList method 'getSelectedValues' returns an object array you'll need to iterate through the array and cast each object in the array to a string as you access them.
    Object[] o = colorList.getSelectedValues();
    for(int count=0,end=o.length; count<end; count++) {
    String s = (String) o[count];
    Hope that helps
    Talden

  • How to print out a copy of the address book

    No longer going to be using the Blackberry pearl 8130. Heading to a different phone.
    I have never activated the email only used as a phone. Would like to printout a copy of my adress book.
    I have backed up the address book using the blackberry desktop manager, but I don't see any way to print out the address book
    Help

    there is not a way to print out the Backup file.
    You should sync your contact to outlook or outlook express and print it out from there.
    Additionally, printing out and manually re-entering all the contacts when you already have the electronic data would be a waste of time. Just sync your data to outlook then you can export your data back to the new device, according to whatever device you are getting.
    Message Edited by JSanders on 12-20-2008 11:09 AM
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to print .sql file name in the same file using sqlplus

    Oracle 10g on Linux platform.
    I am trying to print the name of .sql script file in that file but could not. Following is the file:
    test.sql
    select '&0' from dual;But instead of printing, it is asking for input:
    SQL> @test.sql
    Enter value for 0: Can any body give me a hint as how can i print the file name.

    Use this
    SELECT FNAME_KRBMSFT AS name FROM X$KRBMSFT
    and see
    SQL> create or replace procedure get_dir_list
    2 (p_directory varchar2)
    3 is
    4 l_null varchar2(100);
    5 l_directory varchar2(100);
    6 BEGIN
    7 l_directory := p_directory;
    8 sys.dbms_backup_restore.searchfiles(l_directory, l_null);
    9 FOR x IN (select fname_krbmsft fname from x$krbmsft) LOOP
    10 dbms_output.put_line(x.fname);
    11 END LOOP;
    12
    13 END;
    14 /
    Edited by: HuaMin Chen on Jun 26, 2012 12:26 PM

  • How do I acces a var from the main time line in to a movieclip?

    I'm making a quiz-type animation, since I'm new with ActionScript I had developed my own way to make this work.
    I want to add like a meter that shows one out three position depending on the answer given, I had made this animation as a movieclip but now I need it to react according to the answer, so it changes on every question to do that I need to access the variables I'm using in the main time line, how can I access the the main time line variables from the movie clip?
    The movie clip (meter) is basically the background and the questions will change and advance on top of that movie clip so it'll change with each answer until you get the final result.
    Since I cant attached my FLA file here I could email my it to whom may want to help me, THANK YOU!!!

    I kinda of make it work using what you suggested: var meterVar = MovieClip(this.root).userAnswer;, but I have different problems now I'm getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at divameter2_fla::MovieClip_1/frame1() and the meter movieclip only change from the original position to the second and stays there even if the first answer supose to sent it to the third or four position. here is the code for the main and movie clip:
    Main:
    The following code I have it in separate frames, I know is probbably not the best way to do it but I'm new with AS.
    Frame 1:
    stop();
    messageBox.text = "";
    var userAnswer:int;
    var rbg:Object = rbA.group;
    var finalScore:int;
    btnCheck.addEventListener(MouseEvent.CLICK, nextBtn);
    function nextBtn(evt:MouseEvent):void {
                 userAnswer = int(rbg.selectedData);
                 if(userAnswer == 0) {messageBox.text = "Please select an option";
                 }else{
                     finalScore = userAnswer;
                     gotoAndPlay(2);
    Frame 2:
    stop();
    messageBox.text = "";
    var rbbg:Object = rbbA.group;
    btnCheckTwo.addEventListener(MouseEvent.CLICK, nextBtnTwo);
    function nextBtnTwo (evt:MouseEvent):void {
                 userAnswer = int(rbbg.selectedData);
                 if(userAnswer == 0) {messageBox.text = "Please select an option";
                 }else{
                     finalScore = finalScore + userAnswer;
                     gotoAndPlay(3);
    Frame 3:
    stop();
    messageBox.text = "";
    var rbcg:Object = rbcA.group;
    btnCheckThree.addEventListener(MouseEvent.CLICK, nextBtnThree);
    function nextBtnThree (evt:MouseEvent):void {
                 userAnswer = int(rbcg.selectedData);
                 if(userAnswer == 0) {messageBox.text = "Please select an option";
                 }else{
                     finalScore = finalScore + userAnswer;
                     gotoAndPlay(4);
    Frame 4:
    stop();
    messageBox.text = "";
    var rbdg:Object = rbdA.group;
    btnCheckFour.addEventListener(MouseEvent.CLICK, nextBtnFour);
    function nextBtnFour (evt:MouseEvent):void {
                 userAnswer = int(rbdg.selectedData);
                 if(userAnswer == 0) {messageBox.text = "Please select an option";
                 }else{
                     finalScore = finalScore + userAnswer;
                     gotoAndPlay(5);
    Frame 5:
    stop();
    messageBox.text = "";
    var rbeg:Object = rbeA.group;
    btnCheckFinish.addEventListener(MouseEvent.CLICK, finishBtn);
    function finishBtn (evt:MouseEvent):void {
                 userAnswer = int(rbdg.selectedData);
                 if(userAnswer == 0) {messageBox.text = "Please select an option";
                 }else{
                     finalScore = finalScore + userAnswer;
                     if (finalScore > 4) gotoAndPlay(6);
                     if (finalScore > 9) gotoAndPlay(7);
                     if (finalScore > 13) gotoAndPlay(8);
    The las theree frames are the 3 different results and the code they have is only a stop();
    The following is the movieclip code:
    stop();
    var meterVar = MovieClip(this.root).userAnswer;
    var btnCheck = MovieClip(this.root).btnCheck;
    var btnCheckTwo = MovieClip(this.root).btnCheckTwo;
    var btnCheckThree = MovieClip(this.root).btnCheckThree;
    var btnCheckFour = MovieClip(this.root).btnCheckFour;
    btnCheck.addEventListener(MouseEvent.CLICK, nextBtn);
         function nextBtn (evt:MouseEvent):void {
                 if (meterVar == 1) {gotoAndPlay(2);
                     if (meterVar == 2) gotoAndPlay(3);
                     if (meterVar == 3) gotoAndPlay(4);
                 }else{ gotoAndPlay (1);
    btnCheckTwo.addEventListener(MouseEvent.CLICK, nextBtnTwo);
         function nextBtnTwo (evt:MouseEvent):void {
                 if (meterVar == 1) {gotoAndPlay(2);
                     if (meterVar == 2) gotoAndPlay(3);
                     if (meterVar == 3) gotoAndPlay(4);
                 }else{ gotoAndPlay (1);
    btnCheckThree.addEventListener(MouseEvent.CLICK, nextBtnThree);
         function nextBtnThree (evt:MouseEvent):void {
                 if (meterVar == 1) {gotoAndPlay(2);
                     if (meterVar == 2) gotoAndPlay(3);
                     if (meterVar == 3) gotoAndPlay(4);
                 }else{ gotoAndPlay (1);
    btnCheckFour.addEventListener(MouseEvent.CLICK, nextBtnFour);
         function nextBtnFour (evt:MouseEvent):void {
                 if (meterVar == 1) {gotoAndPlay(2);
                     if (meterVar == 2) gotoAndPlay(3);
                     if (meterVar == 3) gotoAndPlay(4);
                 }else{ gotoAndPlay (1);
    I had attached the almost working FWS file

  • Controlling Record Selection for Subreports from the Main Report

    Post Author: Horizon57
    CA Forum: Formula
    Hello - I am generating a standard report template that will be applied to all of my accounts and I am connecting to an Access DB that has multiple tables. Each table corresponds to a single Subreport within my Mainreport and contains the data for all of the accounts. Essentially I would like to be able to write some logic in the Formula section of my Mainreport whereby I can control which account to run the report for based on the Account Name.  I am having sucess with this method when I change the parameters of the formula in each subreport, but how do I modify my code to allow me to control this from the mainreport.  An example of a formula is below. // Account AAA//{Subreport1.Account } = "AAA" and {Subreport2.Account } = "AAA" and {Subreport3.Account } = "AAA" and {Subreport4.Account } = "AAA"// Account BBB//{Subreport1.Account } = "BBB" and {Subreport2.Account } = "BBB" and {Subreport3.Account } = "BBB" and {Subreport4.Account } = "BBB"// Account CCC//{Subreport1.Account } = "CCC" and {Subreport2.Account } = "CCC" and {Subreport3.Account } = "CCC" and {Subreport4.Account } = "CCC" Essentially, I am looking to just uncomment the particular Account I would like to produce the report for and have that filter down to all the subreports. How do i Modify the logic? Is there a better way to approach this?

    Post Author: Horizon57
    CA Forum: Formula
    Thanks for all the responses..... Just to clarify, I am essentially trying to control the record selection of each subreport with a forumula in the mainreport. To this end I am trying to avoid having to modify the formula in each subreport to change accounts each time i need to run a set of reports. I am still not having any luck modifying the subreport links as mentioned above. The only way I have been able to control the data is with formulas in each subreport. If anyone has accomplished what I am attempting, could you post an actual formula from both the subreports and mainreport so I can try to mirror them. Also, if anyone can point me to an example where I can integrate a dialog box to automatically control the record selection (as mentioned above), that would be great. Thanks,Mike

  • How to separate an accessory toolbox from the main (default) toolbox?

    Hi,
    I accidently snapped a toolbox (containing the Transform, Align and Pathfinder tools) to the main (default) toolbox on the left of the window. Now I can't unsnapp it.
    If I close the toolbox (by clicking the "x"), it also closes the main toolbox... It seems Illustrator just considers it is part of the main toolbox.
    If I uncheck the "Tools" in the "Window" menu, only the default toolbox disapears (which is promising!), but if I close it and re-check the Tools, both toolboxes are still displayed.
    Any idea of how I can separate the two toolboxes? It's not urgent, but it blocks my view and it is getting annoying... Thanks in advance!

    Click into the header bar (either the dark grey for one whole set of panels or just the light grey tab for one panel) and drag it out of the group

  • How do you remove photos permenantly from the hard drive using iPhoto 11?

    Was just wondering if this is possible as removing photos in iphoto leaves them on the hard drive and I don't want to waste disk space.

    btw it's set not to copy photos into the iphoto library
    This creates the problem.
    When you opted to run a Referenced Library you took on the resposibility for managing the files. You get the from the camera to wherever you store them, and if you want to delete them you get them from there to the trash after deleting them from iPhoto.
    iPhoto will not delete files it does not manage.
    Regards
    TD

  • Please how can I print out my book from the laptop I have adobe digital edition and the print is faded

    Sorry but I can not print from Adobe Digital edition. I bought and down loaded a book and now can not seem to print as the print request is faded out. Can someone help me thanks

    Hi Cherin,
    Printing a phone book (or an 'Address Book" as ontacts Help refers to it) is done directly from Contacts, and does not involve Pages. Details are available in Contacts' Help files. Try searching 'print phone book' (without the quotes).
    Your question will be better served in the Mail & Contactssection of the Mac OS & System Software community.When reposting there, be sure to describe the snags you've run into so that people responding can oncentrate on those without having to repeat what you already know.
    Regards,
    Barry

Maybe you are looking for

  • Thumbnails there but no picture appears

    Ok, I'm looking at my iPhoto now with all my pictures dsiplayed in film roll style. When I click on certain pictures, I guess it goes into edit mode, but the screen stays blank and there is like a timer going, as if it's taking time to upload or some

  • Can we define a view that refers to 50 tables?

    Hi, I've a problem at hand and I'm not sure what the right solution I can adopt. There is an application which hits the DB (v11.2) for accessing a single view 'XVIEW'. This view has a simple sql & join which is based on two tables XTABLE1 and XTABLE2

  • Configure sharepoint 2013 BI features

    I have installed SQL server on server (nvsql01) with the following features: Database engine services Analysis services then i installed Sharepoint 2013 under server(nvsp01) and connected to default sql instance found under server (nfsql01) Now i wan

  • Displaying new custom field in

    hi all expert again! i created a new field in order.jsp. but i have no idea how to display this new field with value in orderstatusdetail.jsp, which user click on history link on the right side. this value should be collected from FM or extension tab

  • MacBook blanks out when Resuming from Sleep

    Hello. I am having a problem with my MacBook. If i have it closed and asleep for a little while (about 15 minutes or more) and i come back and open it up, the screen will come on as usual and i will see my desktop, but after about a second, my screen