How to change the texts lov selected on the selection?

Hello!

I have a request in both languages.

The lov selects ID and name of the table, but the 'name' of table fields are in English.

Can I put the code in my lovs Select translate/edit some fields name in the other language?

My lov code is simple: "SELECT name, id OF ELEMENTS."

IM using apex 4.2.1

I imagine something like "name: = 'Item1' where ID = 1, but what I can actually do something like that?

Hi EgaSega,

EgaSega wrote:

Hello!

I have a request in both languages.

The lov selects ID and name of the table, but the 'name' of table fields are in English.

Can I put the code in my lovs Select translate/edit some fields name in the other language?

My lov code is simple: "SELECT name, id OF ELEMENTS."

IM using apex 4.2.1

I imagine something like "name: = 'Item1' where ID = 1, but what I can actually do something like that?

Here is the solution:

  • Add a column to your ELEMENTS to store the name in the particular language:
ALTER TABLE ITEMS ADD (NAME_FR VARCHAR2(30));

Note: You translate the NAME column and update the corresponding translated values in column NAME_FR.

  • Create a view to retrieve data according to the language preference:
CREATE OR REPLACE FORCE VIEW ITEMS_V
( ID, NAME ) AS
SELECT ID
     , DECODE(NVL(v('BROWSER_LANGUAGE'),'en-us'),'fr-ca', COALESCE(NAME_FR, NAME), COALESCE(NAME, NAME_FR)) NAME
  FROM ITEMS;

Note: Replace "fr - ca" language code language code appropriate for the language that you use in your application.

  • Create LOV based on the view:
SELECT NAME
     , ID
  FROM ITEMS_V

Reference: translation of the data in the database - book Expert Oracle Application Express

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • How do I reselect the type to change.  I have a text template that I want to, but when I try to select it with the text tool always creates a new text layer.  How to change the type of the layer in my registered design?

    How do I reselect the type to change.  I have a text template that I want to, but when I try to select it with the text tool always creates a new text layer.  How to change the type of the layer in my registered design?

    OK, Bob. This give a try.

    First, open a new file and make sure the background is white, not on Transparent that I suspect you have currently defined.

    Then, type your copy. Your layers panel will then look like the top of this picture...:

    and when you drag the text on the image layer, it will look like the lower part of the sample above.

    You can then position the text layer with the tool move

  • Dreamweaver CC: How to change the color of the selected text

    Maybe a stupid question, but I can't seem to figure it out, even with searches on the web.  I want to change the color of a single word in my HTML document.  Can anyone offer advice?

    I can change some styles of the selected text (bold, italic, etc.), but do not understand the color.

    Also, I know how to change the color of the different elements using CSS.  But for the selected text in an element, CSS here the simplest solution?

    Thanks in advance.

    carlg79335635 wrote:

    Thank you for that.  But I don't have a color option in my menu format.  It ends at some CSS Styles.  I have to allow him anywhere?  I use Dreamweaver CC.

    Yes.  I checked it and in CC DW, there is not a way to do as I suggested previously.  I was watching DW CS6 and he got it.

    Looks like you'll need to teach how them to manually code.  This will make them think about what they are doing and so concentrate better.

  • How to change the highlight color for windows 7 (select the file or folder)?

    How to change the highlight color for windows 7 in the aero theme (select the file or folder)?

    You can change the font size because it is not a widget.   To do this:

    1 type dpi in your Start menu search box, and then choose make text and other more or less important.
    2 - Choose a size you prefer
    3 - Click on apply.
  • How to change the background color of selection of the selected item in the drop-down box of choice?

    How to change the background color of selection of the selected item in the drop-down box of choice?

    By default, the selection background color like 'blue', but if I want it to be "yellow" for example, how should I do?

    Thank you

    The id is applied by (I think) the skin of the ChoiceBox class. You don't need to define.

    You must apply the css in an external style sheet. You can apply the external style sheet to any parent of the box of your choice, or on-site (the most usual way to do it).

    Example:

    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class ChoiceBoxTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
    
        final ChoiceBox choiceBox = new ChoiceBox<>();
    
        List tempResult = new ArrayList();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        }
        choiceBox.getItems().setAll(tempResult);
    
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      public static void main(String[] args) {
        launch(args);
      }
    
    }
    

    choiceBox.css:

    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
     -fx-background-color: yellow ;
    }
    #choice-box-menu-item .label {
     -fx-text-fill: black ;
    }
    

    Post edited by: James_D

  • Martyn King: Martyn King: I don't see how to change the opacity on MUSE CC it is grayed out when I select my form box. Martyn King: it is on an element in the form of CAPTCHA.

    Martyn King: King of Martyn: I don't see how to change the opacity on MUSE CC it is grayed out when I select my form box.

    Martyn King: On an element in the form of CAPTCHA.

    Unfortunately, we can not change the opacity of the captcha has filed the fill option, are looking for a way to set the background and text color even? or you want to set the opacity so that object behind the rating should be visible?

    Thank you

    Sanjit

  • How to change the text size in the menu drop down labels?

    How to change the size of text in the label drop-down list box?

    Extension of theme font & size changer.

    https://addons.Mozilla.org/en-us/Firefox/addon/theme-font-size-changer/

  • How to change the text in the paint once I clicked outside of the text box?

    How to change the text in the paint once I clicked outside of the text box?

    How to change the text in the paint once I clicked outside of the text box?

    ====================================
    I guess you could go to... Change / Cancel... then again...

    FWIW... the free Picasa software has tools to add text to photos.

    Picasa
    http://Picasa.Google.com/

    How to add text to your Photos using
    Google Picasa 3
    http://www.ehow.com/how_4599330_text-photos-using-Googles-Picasa.html John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • I don't know how to change the size and quality of the text on the screen on Windows 7

    I just installed a new Windows 7 but I don't know how to change the size and quality of the text on the screen.  I tried all the things normal, resolution, size of icons, dpi etc but nothing gives me what I want.  The text in clear 'wonderful' thing is just terrible.  When I go through the 4 steps I see no text boxes which make the text nothing better.  All options are terrible, so the result on screen is too terrible.  When I do any huge I do not get a full screen of things - view the Start button disappears or I did not closing small cross at the top - of the suggestions to inprove the situation?  I must mention that my screen/monitor is 2006 - I need to buy a new one?  How much is this Windows 7 is going to cost me, or maybe I should go back to XP!

    I sincerely thank all you smart "technicians" for all the answers you always gave myself and all others who ask questions.  I'm not too smart with all this new technology as I fell into it very late.  I am now in my 60s and only started using a pc when I was over 50 years so...  In any case, I asked a question about the size of screen resolution and text and received much good advice from all that you guys.  I had recently changed in XP to Windows 7.  However, the bit of advice that I was given in 'Cyberking' here at the Portugal had set the resolution of the screen, the advanced settings, 75 to 60 Hertz Monitor tab.  Very basic, and the first question asked the technician (Lady) was "what size is your screen?  Naturally as a smaller screen that any 'techno' would be considered dead aid, solving the problem was simple and straightforward without me having to stretch my knowledge and my skills by downloading all programes weird (to me) or do the funny stuff in the bios or something else.  I send this comment to you for you to realize that the simple solution is not always bad and maybe we should go for the easiest first and then work up to the more difficult ones.

    Just for you all to see - now my screen resolution is perfect, the text on the screen is clear and legible without difficulty, even though the size of text and icon is small.  Clarity is all!

    Thank you all once again!   Best regards, Blondie blue.

  • How to change the color of the text in a form?

    I hae a standard Muse contact form in my site, and I don't see how to change the color of the text in the form labels and the text that is in a field before seizure is produced, but how do change you the color of the text that is entered in a field by a user?

    Hello kevinb,.

    The solution in this thread provided by Connor - change the attributes of text on turnover of muse , that's what you have to do.

    Let me know if you need additional information.

    Kind regards

    Ankush

  • How to change the header text in a sensitive presentation of HTML5

    I work in HR 11.0.4.291.

    This is probably a "duh" question, but I can't remember how to change the title text in the header of a sensitive layout. In the layout editor, I see that I can change the title, color and color of hover font, but where you change the actual text?

    Any help will be much appreciated.

    Can also be the title bar?

    See you soon... Rick

  • How to change the default "/" shortcut (select none in the shade of color) to something different? Where can I find this in keyboard shortcuts?

    How to change the default "/" shortcut (select 'none' in the shade of color) to something different? Where can I find this in keyboard shortcuts?

    Any ideas?

    In the Tools menu:

    "Apply no color."

  • How to change the text box in Acrobat XI, created by earlier versions of Acrobat

    Hi, I'm having a hard time trying to figure out how to change a text box that was created in an older version of Acrobat and used to fill in a form.

    In my case, I added text boxes on text pre-existing using an earlier version of Acrobat.

    When I try to click on the text box, however, it seems to be back on the existing text and not allow me to change the text box I created in the past.

    Try changing the text with the tool 'Add comment text' which is in the notes pane. The text used to complete the form may have been written as annotation, so when you try to change those with editing tools, the original text is being edited.

  • How to change the text after the script to the Calendar Wizard creates a calendar

    I mainly work with Photoshop, so I am new to the world of InDesign.  I put my options for the Calendar Wizard script, it goes through the motions, making the calendar and then shows my finished product.  The problem is that it lists the year alongside each month: may 2012 June 2012, etc, and I need to remove '2012' of each of them.  I know that the font styles updates the entire calendar when they are applied, so I hope that it works in a similar way.  I guess it is a very simple task if you are familiar with the program, haha!

    Thanks in advance for any help!

    It sounds more like you ask how to delete 2012 of several pages, and not how to change the script to not put 2012 in all first. If I'm wrong about this, you may want to ask on the Forum script.

    An easy way to remove 2012 is to use find/replace. If you are looking for 2012 and do not fill the field exchange, she will replace 2012 with nothing. In the Find/Replace window, there is a field that will allow you to search for the location of the cursor to the end of the current history, the history, the stories in the document or all open documents. If you set it to the Document, you can use the search button to find the first instance, and if you want to remove it, you can hit replace them, replace/find (what will change and find the next instance), or change everything. I would replace/find, in case you have 2012 on another part of the calendar that you want to keep. You can also have it search the text only when it has a particular paragraph or a character style and put in place the same or a different paragraph or character style. To do this, click in the boxes of Format change or find. To clear out them, hit the small icon of the Recycle Bin next to the field.

  • How to change the text design AS3 using the class Date

    Hi I tried to create a 24-hour countdown on 24 who will make a loop and play back counting it self down to 00:00:00:00

    Thanks to Andrei1 for providing me with this code to create the next animtion:

    var result: String = "";
    var date: Date = new Date (null, null, null, 0, 0, 0, 24);

    var timeDisplay:TextField = new TextField();
    timeDisplay.autoSize = TextFieldAutoSize.LEFT;
    timeDisplay.multiline = timeDisplay.wordWrap = false;
    timeDisplay.border = true;
    timeDisplay.x = timeDisplay.y = 20;
    timeDisplay.text = "00:00:00 ';

    addChild (timeDisplay);

    var: timer = new Timer (250);
    timer.addEventListener (TimerEvent.TIMER, count);
    Timer.Start ();

    function countDown(e:TimerEvent):void {}
    Date = new Date (date.setTime (date.getTime () - timer.delay));
    result = date.toTimeString () replace (/ \s+GMT\-\d + /, "");
    timeDisplay.text = result;
    }

    The end result, I'm looking for is to display this countdown clock in a clear gray arial font as shown in the picture below link:

    http://img801.imageshack.us/img801/3604/picture1ms.PNG

    Right now the code I received leaves me with a box around the type and a GMT (+ 000):

    http://img534.imageshack.us/img534/4264/picture2ot.PNG

    I was wandering if any body knows how to change the design of something in the photo above simular.

    Thank you for your help in advance.

    Tom

    Snippets of code is one thing, but nothing is gained back together solutions to people without explanation (but maybe a smile to not have to struggle with it).  Learning is not easy and it is better that it isn't... it involves the effort, stadiums, an increase in capacity to win.  You presented an entirely different approach to a solution that involves techniques beyond a beginning level.

    Don't you think that tom understands what he has in his hands?  It can develop its own regular expressions or manipulate a Date object to what you gave to him?  More importantly, since he never solved the intitial design of yesterdays issues poster, which has involved basic concepts much more, don't you think he could solve this design now?  Or he missed on some basic things that must precede the techniques that you have provided learning?

  • How to change the highlight color, click the button image and text and sound.  are there packages of buttons for use in my project?

    How to change the highlight color, click the button image and text and sound. are there packages of buttons for use in my project?

    Hello

    Even if the point of things based Web links buttons created using them is of simple images. Captivate uses simple images. If you need to put your creative hat and not to let the fact that you see the word 'web' scared you somehow. An image is an image. Use on the web, use Captivate. Same case!

    If you change the properties of the button, you can activate the legend of success. Fix any sound that you like with the legend of success and it will play when you click the button. If you do not want to see the legend of success, delete the text and configure it as transparent.

    See you soon... Rick

    Useful and practical links

Maybe you are looking for