Formatting an internationlised message - help please!

We are developing a multi-lingual application and all our text for field prompts and messages is held in the database in various ways. I'm developing a Reservation dialogue at the end of which I want to display a number of lines of text to the user some elements of which I want to be bold or italicised.
Example
The booking has been confirmed with the reference XXXXXX
Because of our multi-lingual requirement, the message is parameterised and I'm looking for a way to do this either in uiXML or in Java. I've tried <rawText> and embedding the <b> tags in the message but this doesn't support 'styleClass' which I want for the rest of the text. I've also looked at <messageFormat> but can't see how I can get the bold tags in.
Anyone suggest a way I might do this?
Thanks
Ian

Hey Ian -
I think that you had the right idea - but instead of using <rawText>, try using <formattedText>. The formattedText component will let you embed <b> tags and also supports the styleClass attribute.
BTW, seems like you will still want to stick the <b> tags in your translation and use <messageFormat> to insert your substitution text.
Andy

Similar Messages

  • Hi, I was wondering if someone could help me, I recently restored my itouch 4th Gen and was then told to upgrade to itunes 10.6 now everytime I try and install itunes I get the following message, help please!

    Hi, I was wondering if someone could help me, I recently restored my itouch 4th Gen and was then told to upgrade to itunes 10.6 now everytime I try and install itunes I get the following message, help please!
    Error writing to file: C:\Program\Files\iTunes.Resources\de.Iproj\SortPrefixes.plist.   Verify that you have access to that directory.

    Error writing to file: C:\Program\Files\iTunes.Resources\de.Iproj\SortPrefixes.plist.   Verify that you have access to that directory.
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    Vista instructions in the following document: Check your hard disk for errors
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • My iphone 5 keeps on losing contact details and i am also having instances of old text messages being resent when I am actually sending newly written text messages help please?

    My iphone 5 keeps on losing contact details and i am also having instances of old text messages being resent when I am actually sending newly written text messages help please?

    My wife is having the same problems as a reciever. She works in a school as a teaching assistant and her teacher sends messages that are mixed with previous texts from ages ago.
    Can anyone shed some light on this problem or is it only her and this poster?
    2m42s

  • Trying to Open PSE 9 and get Microsoft Visual C++ Runtime Library Error Message HELP please! :)

    Everything worked fine until I paid and downloaded a program called Rad Lab that works in Photoshop Elements.  I got that downloaded and then tried to open PSE and it won't open and I keep getting this error message.
    I've attached a screen shot of what the message is.  Also Adobe ran an update on my computer and it came up with an error message as well. Adobe Photoshope Elements 9.0.3. Update- "Patch cannot be applied. Please contact customer support"
    So I called customer support and the wait time is over 1 hour so here I am on this forum trying to get some answers! If anyone can help I would appreciate it so much!!!
    Thanks!

    Well, uninstall that RadLab thing, reboot and see if PSE then works.
    Ken

  • ITunes help with syncing; many error messages, Help please!

    So, I have downloaded and re-downloaded the new iTunes 10.7 about a thousand times. Everytime I try to download, I get the message "rolling back" and then it starts up again and continues to download. Once downloaded, I plug my iPod touch 4th generation in and I get two pop-up messages: the first says "...mobile device is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation or contact your system administration or the software vendor for support." The next message I receive is "iTunes requires a newer version of Apple Mobile Device Support. Please uninstall both Apple Mobile Device Support and iTunes, then install iTunes again." What am I doing wrong? Can someone please help? I would greatly appreciate it. I have been at this for about 4 hours and all I want to do is buy the new Red album and listen to it commuting to college.

    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Mobile Device Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Mobile Device Support", click "Change" and then click "Repair".
    Can you connect without the errors now?

  • PROBLEM WITH MY MESSAGES HELP PLEASE!

    I am having a problem with my phone. If i save the number in my address book as normal...i.e 079 etc, when that number sends me a message it does NOT come up with a name just the number, BUT if i save the number in my address book as +44 when a text comes through the name WILL show but when the number rings the name wont, it just a number...does that make sense?! can anyone help me please...!

    Welcme to the Frums!
    I am not sure about the +44 stuff - someone with that experience will help ya on that one, but with my address book, I have to add the number then add a name then when they call, their name shows up.  
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • Repeating Network@etp... message Help please

    I can seem to get blackberry to quit sending me this email:
    This message is used to carry data between the BlackBerry handheld and an associated server. Please do not delete, move or respond to this message - it will be processed by the server.
    BEGINETP 238
    ARkjjVAAAAAAIBAIMzJDMDc0Q0QgE3J5a2Vsc2xld2lzQG1zbi5jb20A/pI+k1AFQ0lDQUwD
    QICAgIEyAAAwNTIxRTJBQ0ErRysxAHtMr1XlfgyaSf8BBWxCOTEAGdwe9WxNVVBh5cM8PyLq
    EnGRk6Z5E9MZnFOrSPX3pKqCalELq/pnIk3rwxD4eIFTRYdUcHWeYN5yYUaoe21C/frV59It
    zHC/ZK0PhjiNVe6libXtjNqtSyuH6wJoFJJDDBNZx7Fpo3nc4Dy+DrgnuEypPxg38kJpqbTF
    h2BwrKNM62+O/geBG3qG1z212WhjAg!!
    ENDETP -464295528
    It sends it to me about 150 times a day. does anyone know the solution to this problem?
    Thanks for the help in advance.
    Ryan 

     Network@etp messages arrive on the BlackBerry smartphone
    Doc ID : KB04254
    Last Modified : 2007-09-17
    Document Type : Support
    Print this page
     Environment
    BlackBerry® Desktop Software
    BlackBerry® smartphones
    BlackBerry® Internet Service
     ProblemFrequent email messages from [email protected] (where XX are variables depending on your location) appear on the BlackBerry smartphone and/or the email client (for example, Microsoft® Outlook®) that is associated with the email account. The body of the email message displays the following:
    This message is used to carry data between the BlackBerry Handheld and an associated server. Please do not delete, move or respond to this message - it will be processed by the server.
    The email message also contains an ETP.DAT attachment.
     CauseSummary of Causes
    This issue could be caused by the following:
    The BlackBerry smartphone and/or the BlackBerry Desktop Manager have been configured to use the BlackBerry Enterprise Server or the BlackBerry® Desktop Redirector option.
    The BlackBerry smartphone user is running the Enterprise Activation process on a BlackBerry smartphone that is set up only for the BlackBerry Internet Service.
     Resolution Summary of ResolutionsThe following are possible resolutions for this issue.Cause 1The BlackBerry smartphone and/or the BlackBerry Desktop Manager have been configured to use the BlackBerry Enterprise Server or the BlackBerry Desktop Redirector option.
    Resolution
    First, remove all of the Desktop service books from the BlackBerry smartphone.
    From the Home screen on the BlackBerry smartphone, click Options.
    Click Advanced Options.
    Click Service Book.
    In the service book list, select the Desktop [CMIME] service book.
    Click the trackwheel/Menu button and select Delete from the menu.
    In the service book list, select the Desktop [CICAL] service book.
    Click the trackwheel/Menu button and select Delete from the menu.
    Next, verify whether or not the BlackBerry Desktop Manager has been configured to use the BlackBerry Enterprise Server or the BlackBerry Desktop Redirector option by looking for the Email Settings icon or the Redirector Settings icon in BlackBerry Desktop Manager (see image below). This will only appear if the BlackBerry Enterprise Server or BlackBerry Desktop Redirector was chosen during installation.
    If either the Email Settings or Redirector Settings icon is displayed, uninstall BlackBerry Desktop Manager or modify the configuration of BlackBerry Desktop Manager to support the BlackBerry Internet Service. For instructions on how to uninstall BlackBerry Desktop Manager, see KB02206. For instructions on how to modify the installation to support the BlackBerry Internet Service, see KB03179.
    Note: If you choose to reinstall BlackBerry Desktop Manager, be sure to choose the BlackBerry Internet Service option when prompted during the installation process.
    Cause 2The BlackBerry smartphone user is running Enterprise Activation on a BlackBerry smartphone that is set up only for the BlackBerry Internet Service.
    Resolution
    After 24 hours, the Enterprise Activation process will time out and the messages will stop. Hide the icon if it appears again on the BlackBerry smartphone.

  • Unable to format 400gb HD - Urgent Help Please!

    I have installed a new 400gb Seagate Barracuda HD and set it as a slave drive on my KT4V motherboard.
    My problem is that although I can see it registering ( fully - 372gb )in the bios and under disk management, I get a "Windows is unable to complete format" message when format ( quick/or full )  is attempted.
    I read that this motherboard can only recognise upto 160gb due to lack of 48bit LBA support, but am confused by reading other peoples problems tending to be that they can see only a limited amount of space on their large drive while I can see it all but am unable to format.
    Will a PCI IDE card resolve this issue. If so does anyone know what spec are required.
    I was looking at these.
    http://cgi.ebay.co.uk/3-Port-SATA-PCI-Card-IDE-VIA-VT6421A-A-For-Xbox360-Pc_W0QQitemZ260367271177QQcmdZViewItemQQptZUK_Computing_ComputerComponents_InterfaceCards?hash=item260367271177&_trksid=p3286.c0.m14&_trkparms=66%3A4|65%3A1|39%3A1|240%3A1318
    http://cgi.ebay.co.uk/SATA-VIA-VT6421A-PCI-PC-Raid-Card-For-Vista-XP-Xbox-360_W0QQitemZ150325314786QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item150325314786&_trksid=p3286.c0.m14&_trkparms=72%3A1690|66%3A4|65%3A12|39%3A1|240%3A1308
    http://cgi.ebay.co.uk/4-USB-2-SATA-IDE-PCI-COMBO-Controller-Card-PC54_W0QQitemZ250315406187QQcmdZViewItemQQptZUK_Computing_ComputerComponents_InterfaceCards?hash=item250315406187&_trksid=p3286.c0.m14&_trkparms=72%3A1683|66%3A4|65%3A12|39%3A1|240%3A1318
    Many thanks for any help.

    My drives are jumpered correctly for CS.
    Also placed in the desired order on the IDE lead of Samsung 40GB = Master and Seagate 400gb = Slave.
    My problem remains that I am unable to format the slave drive from within the 40gb windows OS via the windows explorer, Disk Management, command prompt, EASEUS.
    Does any one know why/how  this could be the case? Bearing in mind it did format when set as the master and booting from the XP sp2  install cd.
    I'm going to have to reinstall windows to the 400gb  and see if I can make the 40gb the slave. Which I did not try previously as that would have meant swapping the drives around in their bays. It was also not my preferred option.
    Will have to do it tomorrow. Will post back my results.
    Cheers guys.

  • C7 - Problem with text messages - Help please!

    I have had my Nokia C7 since November and have not been able to use it! When I send a text message less than 160 characters I am charged between 2 and 3 times on my bill. The text message is being sent once and the recipient is receiving the text once. I have done everything that I have been asked by my provider from software upgrades to a brand new sim card to sending the phone off to be repaired to having a replacement but nothing works .. If I use my sim card in my old Nokia N79 then I don't have this problem. I recently tried a pay as you go sim card in the Nokia C7 and the same thing happened!
    Any suggestions please??

    Thanks for confirming .. Just so frustrating as getting no where with T Mobile. The technical person insisted that I had sent 3 text messages despite the fact that 1 was sent all because that is what was showing on his system! I had to go into the shop with a copy of my usage and the phone showing the text messages to prove only 1 text had been sent. They just don't seem to be able to resolve the issue. I just don't know what else to do. I haven't been able to use this new phone since November
    Thanks again for your reply. Much appreciated

  • I keep receiving error messages HELP please

    im trying to:
    Authorize my computer
    Transfer purchased songs from my Ipod touch to my Itunes
    when i try to do so i receive the error message ( We could not complete your itunes store request. and unknown error occurred(-9808)
    there was san error in the itunes store please try again later)
    this isnt the first time ive gotten this message, (when i first got my ipod, i had the issue of getting into my itunes store)
    but im very frustrated with this...and i really dont want to call apple

    when i try to do so i receive the error message ( We could not complete your itunes store request. and unknown error occurred(-9808) there was san error in the itunes store please try again later)
    In the course of your troubleshooting to date, have you worked through the following document?
    iTunes Store: "An unknown error occured (-9808)"

  • Messages help please!!!

    Every time I try to send a message to any phone number in my contacts now, it says they are offline. I don't know how this happened/how do I fix it??

    Hi,
    Messages cannot tell when people are Off line.
    On the basis that most will have linked iPhone Number and Apple ID it is less likely that they will show up as Off Line (Red) when you  try to iMessage them.
    If you are only trying iPhone Numbers they may well be out of reach, Switched off, In airplane mode or have run out of charge.
    10:17 PM      Wednesday; October 24, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Messaging Help please

    Hi all,
    for some reason, when I try to text i get this message
    ERROR INVALID NUMBER. PLEASE RESEND USING A VALID 10 DIGIT MOBIL NUMBER OR VALID SHORT CODE.
    The number I'm texting is a valid number because it's my cousin who JUST called my house and i need to send him something via text and it says his number isn't a valid 10 digit number.
    wth is going on here???
    It only happens with people who i haven't texted yet. But if they text me and i text back it starts to work.... i mean huh??? really???

    My fone does the same thing, I finally deleted all incoming messages from the person and started a new dialog and it works fine. try it...Pete

  • Error Message Help please

    I get this when trying to get an appMod, any clues?
    JBO-29000: Unexpected exception caught: oracle.jbo.common.ampool.ApplicationPoolException, msg=JBO-30003: The application pool (fsweb.jbo.account.AccountModule) failed to checkout an application module due to the following exception:
    BO-30003: The application pool (fsweb.jbo.account.AccountModule) failed to checkout an application module due to the following exception:JBO-25002: Definition fsweb.jbo.account.MarketplaceAttributeValuesMarketplaceAttribute of type Entity Association not found

    I get this when trying to get an appMod, any clues?
    JBO-29000: Unexpected exception caught: oracle.jbo.common.ampool.ApplicationPoolException, msg=JBO-30003: The application pool (fsweb.jbo.account.AccountModule) failed to checkout an application module due to the following exception:
    BO-30003: The application pool (fsweb.jbo.account.AccountModule) failed to checkout an application module due to the following exception:JBO-25002: Definition fsweb.jbo.account.MarketplaceAttributeValuesMarketplaceAttribute of type Entity Association not found Brette:
    This error (JBO-25002) says that a part of your app is looking for an entity association named fsweb.jbo.account.MarketplaceAttributeValuesMarketplaceAttribute, but it couldn't load it. Two possible reasons:
    1. Are you sure fsweb.jbo.account.MarketplaceAttributeValuesMarketplaceAttribute is an entity assoc? Or, is it an attribute? Perhaps your app is trying to use an attr as an assoc?
    2. Or, the xml file for the aforementioned entity assoc cannot be located. Please check to see if the XML file is jarred correctly and that it is accessible from the CLASSPATH. Note that fsweb.jbo.account.MarketplaceAttributeValuesMarketplaceAttribute would have a corresponding XML file name of fsweb\jbo\account\MarketplaceAttributeValuesMarketplaceAttribute.xml. This file should be in one of the jars mentioned in the CLASSPATH or should be reachable from one of the directories listed in the CLASSPATH.
    Thanks.
    Sung

  • Have weird error message, help please.

    I've created two classes to interact with each other from a problem in my text book. Here is the problem from the book:
    Implement a class Employee. An employee has a name(a string) and a salary (a double). Write a default constructor, a constructor with two parameters(name and a salary), and methods to return the name and salary. Write a small program that test your class.
    I'm think the error is probably small, but I'm having trouble identifying it.
    Here is the code and error messages
    This class contains a constructor designed to construct an employee object with
    the parameters name & salary.
    public class Employee
       String name;
       double salary;
          This constructor, when called, constructs an object Employee,
          sets the initial name and salary.
       public Employee(String constructName, double constructSalary)
       name = constructName;
       salary = constructSalary;
       The method returns the value for name to the EmployeeTester class.
       public String employeeName()
          return name;
       This method returns the value for salary to the EmployeeTester class.
       public double employeeSalary()
          return salary;
    This class contains an executable program designed to test the functionality
    of the class Employee.
    public class EmployeeTester
       public static void main(String[] args)
             Employee rick = new Employee(rick,10000);
             System.out.println("The employee name is " + rick.employeeName + ".");
             System.out.println("The employee salary is " +rick.employeeSalary + ".");
    }C:\Documents and Settings\Administrator\Desktop\Comp 1900 files\EmployeeTester.java:9: cannot find symbol
    symbol : constructor Employee(Employee,int)
    location: class Employee
    Employee rick = new Employee(rick,10000);
    ^
    C:\Documents and Settings\Administrator\Desktop\Comp 1900 files\EmployeeTester.java:10: cannot find symbol
    symbol : variable employeeName
    location: class Employee
    System.out.println("The employee name is " + rick.employeeName + ".");
    ^
    C:\Documents and Settings\Administrator\Desktop\Comp 1900 files\EmployeeTester.java:11: cannot find symbol
    symbol : variable employeeSalary
    location: class Employee
    System.out.println("The employee salary is " rick.employeeSalary ".");
    ^
    3 errors

    C:\Documents and Settings\Administrator\Desktop\Comp
    1900 files\EmployeeTester.java:9: cannot find symbol
    symbol : constructor Employee(Employee,int)
    location: class Employee
    Employee rick = new Employee(rick,10000);The error message is telling you exactly what's going yon. You're trying to create a new Employee by passing an Employee and an int to the constructor. Employee does not have a c'tor that takes Employee and int as arguments. So either create such a c'tor, or call one that does exist. (Without looking at your code or what you're trying to do, I'll say that the latter is more likely the correct course.)
    Also, you've got a flaw there, in that at the point you say Employee rick, rick does not have a value, but then in the same line, you try to pass rick's value to the c'tor, but rick doesn't have a value yet. You're saying, "here's this new variable rick, give it a value based on it's current, nonexistent value."
    ^
    Settings\Administrator\Desktop\Comp 1900
    files\EmployeeTester.java:10: cannot find symbol
    ymbol : variable employeeName
    location: class Employee
    System.out.println("The employee name is " +
    rick.employeeName + ".");Again, the error message is very explicit. You're trying to use a member variable called employeeName where Employee has no such member variable.
    >
    >
    C:\Documents and Settings\Administrator\Desktop\Comp
    1900 files\EmployeeTester.java:11: cannot find
    symbol
    symbol : variable employeeSalary
    location: class Employee
    System.out.println("The employee salary is "
    rick.employeeSalary ".");Based on the above, you should be able to figure this one out.

  • When I go to burn an audio cd I get anerror message help please

    When I go to burn a cd I get the following message: The Registry Settings by Itunes for impirting and burning CDS AND DVDS are missing.  Does anyone know how to fix this?

    See this Apple support document related to your issue.
    http://support.apple.com/kb/TS2372
    B-rock

Maybe you are looking for