Display Multi language text

Hi All,
I would like to display all language text
I am getting as a parameters.
How i can display multi language text?

You can do something like this
http://wiki.mediaboxtraining.com/doku.php/tutorials:flex:localization
If this post answers your question or helps, please kindly mark it as such.

Similar Messages

  • Displaying Multi Line Text

    Hi,
    I am having issues in displaying multi line text on a Text Item. Basically there is data in the database column DetailText which is stored like this with carriage returns :
    If I look at the column in Toad it is formatted with all the carriage returns correctly eg.
    Hello
    World
    When I display this in my StaticStyled Item it displays like "Hello World" in one line. I want to be able to display it as it is with the carriage return on 2 seperate lines.
    I have looked in this forum and one search 2 places and one suggestion was to use RawText Item type. I have tried changing the Item Type to Raw Text and FormattedText but it doesn't make any difference. The lines are still displayed horizontally instead of vertically. Another place I saw was to use OAHTMLWebBean but doesn't show how I can do this.
    This should be simple enough but I have searched the DevGuide and this forum and couldn't figure out the solution. Any help would be appreciated.
    Thanks

    Hi,
    I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
    <html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
    So I am able to see the prompt like :-
    User authentication failed.
    Cause: Invalid password.
    Hope this helps you...
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do you display multi line text

    Hi
    How does one display multi line text? I would like to display address information on the screen so that the user can select it and copy/paste it into another application (ms word).
    I have the address information as separate columns (address1, address2, city, province, postal code) so I've changed the query on my view object to add it as address1 || chr(10) || address2 || chr(10) || city ....
    If I display it on the page as an output text, it all displays as one line (okay, the chr(10) thing did not work but that's beside the point).
    In general, is there a way to display multi line text? What component is suitable for this, if there is one?
    Thanks

    You can use normal outputText components in a panelGroupLayout (vertical layout) and add each attribute to it. The remove the labels or set the components to simple. You can then mark the data in the browser and use normal copy&paste to transfer the data.
    If you want to output longer text with line breaks you can use an outputText with escape=false and use the br html tag to generate a line break;
    <af:outputText escape="false"
    value="+++++++long<br>test<br> this is a long text in multiple lines" id="ot10" truncateAt="#{viewScope.ToggleBean.truncateLength}"/>Timo

  • Multi language texts

    I am building a multi language application in Apex.
    I would like to retrieve data from tables and return the text in the language of the user connecting the web site. Has Apex a standard solution for this? If not, what is the best idea to use?
    I am thinking of this solution:
    - content_table_1(content_1_id, description, message_id)
    - content_table_2(content_2_id, description, message_id)
    - content_table_n(content_n_id, description, message_id)
    - message_table(message_id, language_id, message_text)
    Content tables can be all sorts of tables in my data model. This solution enables me to reuse messages in different content tables. In queries I have to get the message text with the content. This will work, but is this the best solution?
    Alternatively I could also do this:
    - content_table_1(content_1_id, description)
    - message_table_1(content_1_id, language_id, message_text)
    - content_table_2(content_2_id, description)
    - message_table_2(content_2_id, language_id, message_text)
    - content_table_n(content_n_id, description)
    - message_table_n(content_n_id, language_id, message_text)

    Hi Arie,
    That's correct. APEX can only translate things he "knows". APEX doesn't "know" your own data.
    That's way I mentioned this:
    APEX can also give you the language of the browser for ex. so you can put the right value in your where clause.Whatever method you chose to retrieve the language, to get your data displayed in the right language you have to let your select statement know what you want.
    For WC2006 I stored the language in an Application Item and used in my selects WHERE language = :MY_LANGUAGE_ITEM
    Does this clarify my post more?
    Dimitri

  • New lines created in excel when displaying multi-line text item value

    Hi all,
    I put the value of a multi-line text-item into a csv file :
    DECLARE
    file_filter VARCHAR2(256) := 'Export Files (*.csv)/*.csv/All Files (*.*)/*.*/';
    fExp VARCHAR2(256);
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(4000);
    BEGIN
    fExp := get_file_name ( directory_name, file_name, file_filter, NULL, SAVE_FILE, TRUE);
    IF fExp IS NOT NULL
    THEN
    set_application_property(cursor_style,'BUSY');
    in_file := Text_IO.Fopen( fExp, 'W');
    linebuf := NVL(:com_bnc_possibles.LIBEL_TRAITE,'') || ';' ||
    NVL(:com_bnc_possibles.NUM_ANFR_ID,'') || ';' ||
                             NVL(:com_bnc_possibles.ver_fiche,'') || ';' ||
                             NVL(:com_bnc_possibles.titre,'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_creat, 'dd/mm/yyyy'),'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_valide, 'dd/mm/yyyy'),'') || ';' ||
    NVL(:com_bnc_possibles.LIBEL_STATUT,'') || ';' ||
    NVL(:com_bnc_possibles.label_reg,'') || ';' ||
    NVL(:com_bnc_possibles.nom,'') || ';' ||
    NVL(:com_bnc_possibles.prenom,'') || ';' ||
    NVL(:com_bnc_possibles.nom_societe,'') || ';' ||
    NVL(:com_bnc_possibles.comp_bnc,'') || ';' ||
    NVL(:com_bnc_possibles.motifs,'') || ';' ;
    Text_IO.Put_Line( in_file, linebuf);
    Text_IO.Fclose( in_file);
    set_application_property(cursor_style,'DEFAULT');
    END IF;
    END;
    And when I opened the csv file then the remaining lines , that is from the second line , of the column "motifs" are displayed through the column A of excel. The "motifs" multi-line text-item has 500 as its Maximum Length property value, and has a Char Data Type property value.
    So how to display all the motifs' lines through the same column M without displaying the remaining lines in column A ?
    Or are there tips to remove CHR(13) characters from a multi-line text-item ?
    Thank you very much indeed.
    Message was edited by:
    andrianiaina

    Hi,
    I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
    <html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
    So I am able to see the prompt like :-
    User authentication failed.
    Cause: Invalid password.
    Hope this helps you...
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to display multi-lines text correctly (view only mode)

    Hi,
    I have a description field that includes multi-lines format, where the lines are being separated by
    characters: chr(10) and chr(13).
    When I’m using messageStyleText (or rawText) – I’m getting all the data in one line.
    Can you please recommend of an OAF item that will display the text correctly?
    Should I use another character as the line separator?
    Thanks in advance,
    Rona

    Hi Rona;
    rawText item supports HTML tags. so you can use br tag.
    Best Regards;
    GsrC.
    Message was edited by:
    GsrC

  • Display multi-line text

    I'm only using AWT. I need a component that's basically an uneditable Textarea (preferably no caret), where each line of text can be a different font and color. I was thinking to just extend a Canvas to draw the text on, and just add that component to a ScrollPane to get the scrollbar. Would this be the way to go? If not, can anyone suggest a better way?
    I'd also think this would be a FAQ, but I can't find anything on it. If someone knows of a component out there that already exists, please let me know where I can check it out.
    Thanks!
    -James

    You could make a TextArea which is disabled by calling setEnabled(false) (this is a component method). I think that that would be the easiest, however if color lines and changing fonts are what you are after you will need to go with something more elabrate. If you were using Swing you could just throw some HTML into the TextArea, but since you aren't I don't think there's an easy way using components.
    The other way to go is to draw directly onto a Panel or Canvas using the drawString method. The problem I see with this is that drawString will not respect \n (newlines) so you will need to write your own code to implement multiple lines. Also, if you go this way I would take a look at the FontMetrics class which can help you with the dimensions of each line.
    I hope this helps,
    Alex

  • Multi-lingual Text trouble

    Hi there,
    I having trouble getting Director to display multi-lingual
    text in #text members. I'm using WinXP Pro and have installed
    everything that can be under the "Regional and Language Options".
    The text displays correctly in the thumbnail preview in the cast
    window but when I drag the member over to the stage I just get
    square blocks. The same text works fine in notepad with the same
    font. Is Unicode support limited to #flashComponent only?
    Here's some sample text that is not working in a # text
    member:
    Japanese Hiragana/Katakana
    ぁいぅえぉ
    ㋐㋓㋬㋨ ㌀㌕㌘
    Korean Hanja
    가儺茶洛漠
    ᄃᄫᅔᅼᅾᆔᇘᇢᇍᇫᇷ
    Arabic
    ةثسظټږۃںڢ۵۳
    Malayalam
    അങഫമഞഊഋളെൊ൯൬൪൩൨൧൦

    Ahhh dang .. scratch that happiness .. D11 doesn't support
    right to left text :(
    What's infuriating about this is that thumbnail preview
    renders RTL text correctly! But as soon as you place the member on
    the stage the text renders arse about - presumably the cast window
    is using standard win text controls.
    Even the TextInput #flashComponent gets it wrong, though the
    text is displayed correctly in the Property Inspector.
    Can anyone recommend ways to use RTL text in D11?

  • How to use a dictionary for multi languages when displaying mess

    how to use a dictionary for multi languages when displaying messages??

    1st you have to define new messages in the dictionary:-
    1.     We have to open the application.
    2.     Functional administrator responsibility.
    3.     Core services.
    4.     Messages.
    •     Create message button.
    •     Now fill the name of the message that we want to call it from our code in the Code field.
    •     Fill the application name with short name of the application.
    •     Choose the language.
    •     Set the text you want to be displayed.
    2nd, Now in the CO in the in the process form request you will code throw new OAException ("application short name","Code").
    Now run and see the result.
    3rd we want to use Arabic messages, use the same one you have created for saving as an example but you choose duplicate and set the language Arabic.
    •     Run the page.
    •     Choose preferences.
    •     Current Session language = Arabic.
    Now you can see the result.

  • Multi-Language view display rules

    Hi,
    Has any of you made any testing with display rules on multi-language views. I can't find any example, and it's not clear how to select which values to show depending on the user locale...

    The only method I can suggest would to use a DataTable with the text of each label inside.
    1 2 3 4 5
    A English Stop Go On Off
    B Spanish Alto Ir En Apagado
    C German Halt Gehen Auf Ab
     (Example, translations are probably not 100% )
    Forshock - Consult.Develop.Solve.

  • Multi-language support for user-specified text strings used in the forms

    multi-language support for user-specified text strings used in the forms
    Instead of creating multiple forms, 1 in each different language, for the same service, is there any workaround?

    Hoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.

  • Multi Language- Picklist fields are displayed only one language for Reports

    Hi!
    I am working on Siebel On Demand with Multi Language (English and Spanish) and it works well for web interface, the automatic translation for picklist works properly.
    However when I create any report (with any Record Type) the fields setup with picklist are displayed only in spanish language even though I am on English mode.
    Have you any reference(s) or previous experience(s) on that?
    Thanks in advance
    Mtb

    Hi,
    in reports the language of the picklists corresponds always to the company default language.
    The only solution I now (its really static and not so nice):
    Create one report per language and change the picklist field by using CASE statements...you see its hard to refresh if you have lots of values :)
    cheers
    Myriam

  • Displaying a multi-line text block in an ALV grid cell

    Can I display a multi-line text block (i.e. a paragraph of text) in an ALV grid cell?
    If yes, what properties do I set in the Field Catalaog (I tried the style and that didnt seem to work)
    Thanks

    By default ALV Grid merges fields with same values vertically.
    Isn't that only when the column is part of the sort key? You also have to consider the user changing the sort sequence, which can make the text jumbled up. In one of my reports I have made the cell a hotspot and displayed the text in a popup. Of course you cannot print it.
    Cheers,
    Ramki.

  • Problems with displaying Asian languages dynamically in a text box

    I have a text box that I am adding to the stage dynamically. The text box is a movieclip in the library. However, when it is added to the stage the message is not displayed. I have no problems with English or Spanish but for Chinese, Korean, and Japenese the message is not displayed. Here is the code in Chinese (when a certain condition is met:
    function whiteFlashCompleteF():void{
       ssMessageF("截图已添加至您的图片库");
    function ssMessageF(s:String):void{
        ssMessage.alpha = 0;
        addChild(ssMessage);
        ssMessage.x=stage.stageWidth/2;
        ssMessage.y=stage.stageHeight/2;
        ssMessage.tf.text = s;
        TweenLite.to(ssMessage,1,{alpha:1});
        TweenLite.to(ssMessage,1,{alpha:0, onComplete:ssMessageCompleteF, delay:3, overwrite:false});
    Do anyone have any ideas on how I can get the text to display?

    any text that is rendered in a dynamic textbox during runtime,
    has to consist of characters of a font you have properly embeded,
    (which might not be the case for this chinese message)

  • Best practice for developing multi language Website

    Hi all
    I want to develop my website in multiple languages and I know that I can put all the msg string in the resource bundle or in the database, however, I think this makes the interface of the web becomes very difficult to develop because I can't see anything in the HTML editor. Another solution is to use XSL that I believe HTML editors is able to display the tagname or some description of the XSL tag but I am not sure about that because I haven't used it before.
    Have any expert web developers find a better solution or do you guys think XSL is the best solutions? Any suggestions are very welcome. Thank You!
    From
    Edmond

    being not familiar with xsl, I say go for resources. If you define your own tag to display text, it isnt that hard to understand, e.g.
    <translate id="hello.world"/>. That at least is how I make multi language website.

Maybe you are looking for

  • What are the possible approches for hosting a product(custom SP application) for multiple clients on a single SharePoint farm?

    We have a product which is a custom application based on SharePoint Foundation 2010. Right now, for each of our client we create a dedicated server and host the application in the standalone deployment. Now, the requirement is to host multiple client

  • VAT Condition Rate

    Hi Experts, I have one issue in PO tax pricing is that. I have created one TAX code and maintained Rates for Service tax Condtion types as well as VAT condition type JIPL. When I created PO with this TAX code only the service tax rates are being show

  • Multism schematic line width

    Hi ! Is there an option to change the selected net width ? It would be nice, to show power lines with bolder lines in the schematic. Or it could be automatic, for example: If I set 100mil trace width in the net's properties, then it would display thi

  • Material Forecast upload

    Hi all, We are trying to upload material forecast weekly data by TCODE MM02. Our input file has 4 fields as below: Plant, Material,     Weekly period, forecast value 1101, 20222222,  2011/34,           120 1101, 30222222,  2011/35,           110 1101

  • Internet Explorer Pages Disappear

    http://www.fotofabini.com/PUBLISH Friends - This four page web site appears and works properly in Safari, Firefox, and Opera. However, when I test it in Internet Explorer, the page draws completely and then completely disappears. Each page is one gra