I18N of SELECT Lists (Drop Downs)

I have a good grasp of the simple resource bundle approach to I18N. Is there a best practice for internationalizing values that appear in drop down select boxes? These lookup values are often stored in the database. How does this reconcile with the use of resource bundles.
Shipping method:
<SELECT NAME="shipping">
<OPTION VALUE="1"> Standard
<OPTION VALUE="2"> 2-day
<OPTION VALUE="3"> Overnight
</SELECT>

If you have such values stored in your database, then simply develop an appropriate data schema which allows you to look up the values based on language or locale IDs, and store all the translated values in the DB.
You would need to provide the values from the database in some sort of appropriate format for translation (XML would probably be a good choice), so you would need to have a method of extracting the values to such external files and inserting them in the DB again. This will allow the use of translation tools such as translation memories etc. for the translation, and it will avoid potential problems with allowing translators direct access to the database.
And then go on using resource bundles for the UI text strings.

Similar Messages

  • Auto-populating Infopath fields from a Sharepoint list after selecting a drop down

    I currently have two lists one titled 'Book of Work' which holds details around on-going projects and the other titled 'Book of Work Amendments' which are requests submitted by users to change project details (through an infopath form).
    There is a column in the BoW Amendments list entitled 'Select Project' which has a lookup to 'Project Name' in the BoW list. The aim is that when a user chooses an option from the 'Select Project' drop-down, other fields in the form such as 'Project Manager',
    'Project Description' will be automatically populated with data from that row in the BoW table.
    I have connected both Sharepoint Lists as data connections with BoW Amendments being the primary and BoW the secondary. If we take the Project Manager field as an example the method I have attempted is as follows:
    . Create a rule with condition Select Project is not blank
    . Action - Set a field's value: Field: Project Manager (BoW Amendments - Primary) Value:
    Project Manager (BoW - Secondary) Add Filter: Project_Name (BoW - Secondary) =
    Select Project (BoW - Primary)
    Currently this is not populating the field when the project is selected in the drop down, any assistance would be greatly appreciated.

    Hi Josh,
    This should be straight forward. You do not need BOW Amend data connection. You are creating requests in this list so this will be your Main Data Connection.
    When creating the rule on the drop down, select Action:
    Condition: anytime the value changes, Set a field's value - Project Manager (Main); Value - Project Manager(BOW) where Project[BOW] = Project [Main]
    Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Phone reception HORRIBLE, have to select from drop down menus 2x and INTERNET now freezes and is VERY SLOW SINCE NK1 UPDATE a week ago, no problems prior

    I have had my Note 3 since about 14 months now and have loved it until the last Verizon update.  Since the update my reception is very poor / "breaks up" in my shop.  This is the same shop I have been working in for 6 YEARS!!! Also when I select a drop down tab like a credit card month and make my selection it NEVER saves the 1st time, always have to do it 2x.  The internet used to work great in my shop and could stream Pandora without an issue, now it take 2 minutes to load the first song.
    I feel these simple software issues could make people feel the need to upgrade their phone even though there is nothing wrong with their current phone, pretty creative sales tactic if you ask me.  All I want is my phone to work like it did prior to the 1/16/2015 update.  If I have change my ways and run my off wifi everywhere like I had to back when I had Sprint I might as well switch to a cheaper provider.
    My time is money and wasting time trying to make a phone work like it did before a software update is very frustrating. I have already gone to a Verizon store and was told to do a complete reset.  I spent 2 hours saving everything to my cloud, reset the phone and the same problems still exist.  Please help me find a solution to my problems ASAP

    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
    Do a malware check with several malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Multiple selection from drop down : NWDS7.0 SPS18

    Hi Team,
    How can achieve multiple selection from drop down? I am working on NWDS7.0 SPS18. I have known the concept of item list box... is that's the only option?.
    Is it possible to make it as filter option that we have in our Microsoft excel.
    Customer wants select either/all options @once from drop down.
    TIA,
    Vanita K

    Hi,
    Create a node with cardinality 0-n and selection property set to 0-n
    Create a table UI element and bind this node as a datasource to this table.
    Set the selection mode  property of this table as auto or multi
    Once this is done, populate the node with some data elements.
    When you run the application, you will be able to select multiple rows from the table.
    To get the selected rows, use below code on the action of some button
         wdComponentAPI.getMessageManager().reportSuccess("Selected rows are");
         int n = wdContext.nodeEmployeeData().size();//size of node binded with table
         int leadSelected = wdContext.nodeEmployeeData().getLeadSelection();
         for (int i = n - 1; i >= 0; --i)
              if (wdContext.nodeEmployeeData().isMultiSelected(i) || leadSelected == i )
                   IEmployeeDataElement employeeDataElement = wdContext.nodeEmployeeData().getEmployeeDataElementAt(i);
                   wdComponentAPI.getMessageManager().reportSuccess("ID: "+employeeDataElement.getID()+"Name: "+employeeDataElement.getName());
    For adding sorting and filtering functionality to the table follow the article
    [WDJ - A Generic Java Class for Filtering Web Dynpro Tables|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f]
    Regards,
    Amol

  • Urgent help!display db value as selected in drop down using select option

    Hi All,
    My problem is i had resultset from database and i want to display it as drop down.By default it should show the actual database value for that field also user should be able to change it by selecting from drop down. What is happening is it is by default displaying the last value from the resultset and not the selected one. my code on JSP is :
    <%
    Statement stm1 = null;
    ResultSet rs1 = null;
    stm1 = con.createStatement();
    rs1 = displog.searchorthodon(con);
    String qry1 = "SELECT * FROM orthodontab;";
    rs1 = stm1.executeQuery(qry1);
    %>
    <table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#444444" align="center">
    <tr>
    <td width="171px" align="right" class="txtFieldLable">Orthodontist :
    <td width="171px" align="left" height="33" class="freeformfielddata">
    <select name="orthoden">
    <% while (rs1.next()){ %>
    <option value="<%=inputorthodon%>" selected ><%=rs1.getString("ortho_name")%></option>
    <%} %>
    </select>
    Thanks and Regards.I will be greatful to know where i am going wrong.

    <% int i = 1;
    while (rs11.next()){
    if (i==2)
    {%>
    <option value=i selected ><%=inputap%></option>
    <%}
    else
    %>
    <option value=i ><%=rs11.getString("AP")%> </option>
    <% }i++;}i=1; %>
    </select>
    <%
    This is a code and here instead of if(i==2) i actually want to compare rs11.next() with inputap. what will be the syntax.any help will be greatful

  • What is the shortcut to activate the tab list drop-down?

    I seem to remember I used to use a keyboard shortcut to activate the tab list drop-down, instead of clicking on the downward arrow. Can someone tell me if it still exists and what it is?

    Not that I know of if you mean the "List all tabs" button at the far right end of the Tab bar.
    You can look at this extension to have an Alt+A shortcut.
    *Tabs Menu: https://addons.mozilla.org/firefox/addon/tabs-menu/

  • ListViewWebPart has limited to 50 views item in Selected View drop-down property

    Hello, we are currently in a context where we have over 70 view in one document library. When we add this document library into a custom webpart page, and choose "Modify Share Web Part". the "Selected View" drop down only contain the first 47 view + 4 default view. We are unable to chose  view #48 to 70.
    Does it exist any config to show more then 47 view in the "Selected View" drop down property of a "ListViewWebPart".
    N.B.: We know 70 view is a lot, but we are in a context where we needs those 70 views and they are named a easy way so the end-user can easily choose from them.
    Thanks!

    Also having the same problem.
    The views in the dropdown are sorted alphabetically so the first 50 are selectable.
    A workaround:
    - create a new view called aaa which is an exact copy of the view you want to display in the LVWP
    - now select the aaa view in the LVWP to display
    Regards, J.

  • Web UI - Value not getting selected from drop down list  .

    Hi  All ,
        I am facing a problem in one of the fields which is enhanced with a drop down functionality .
      I have created the GET_V_** method and also the GET_P_**  method for the same .And finally I am able to see the values in the drop down list . But the problem is , when I am trying to select a value from the drop down no values are selected .
    Can anyone plese help me in this as What has to be  done .
    I have taken references from few guides but I am not getting any clear idea of what has to be done .
    Regards,
    Ranjita

    Hi Ranjita,
                     To trigger a round trip, you must have given the event name in GET_P method.
    Same event handler would trigger.
      Please put a break point in Event Handler in IMPL class, and in SET_attr method of the attribute in CN class and see if value is getting set properly or not. Final value that would be displayed on UI would be there in GET_attr method of CN class.
      I hope it helps.
    Thanks,
    Rohit

  • How can I select from drop-down list and jumping to selected subform?

    I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?
    drop-down list...A (jump to subform1)
                             B (jump to subform2)
                             C (jump to subform3)
    subform1
    subform2
    subform3
    ....end of form

    Hi,
    you cannot set focus on a subform but on a field, as only interactive objects can be focussed.
    From a dropdowns exit event the script will look this way:
    switch (this.rawValue) {
              case "A" : xfa.host.setFocus("form1.page2.field1"); break;
              case "B" : xfa.host.setFocus("form1.page2.field1"); break;

  • Prevent Identical Selection in Drop Down List in an Expanding Table

    Hi All,
    I have a 2x2 table in which the top row is a header row and the bottom row 'Row1'. Row1 Cell1 has two buttons in it, one to add a new Row1 using Javascript click instance script:
    this.parent.parent.instanceManager.addInstance()
    ...and one to remove any Row1 using Javascript click instance script:
    var rowNum = this.parent.parent.index;
    this.parent.parent.instanceManager.removeInstance(rowNum);
    Row1 Cell2 contains a datadropdown object.  Basically, when a user adds an extra Row1, I need to prevent them from selecting a previously selected item from the dropdowndata list.  I'm having trouble figuring it out because I'm trying to put together exit instance script (or should it be validate script?) that is trying to reference Row1[*].  In simpler situations where I have two fixed objects, I have just been doing this as a FormCalc exit script:
    if (Object1 = Object2)
    then xfa.host.messageBox("You can't select the same thing again")
    and xfa.host.resetData("Object1")
    endif
    ... which prevents the user from selecting something with the same rawvalue by alerting them, then clearing the field. 
    Hope this makes sense and that someone can help!  Thanks in advance to all the adobe gurus out there

    Hi,
    Would it be possible to filter out the choices in the drop down list that have already been selected.  If so you could try something like this JavaScript in the preOpen event of your drop down.
    var dropDownItems = [ "abc", "def", "hij" ];
    var rows = Table1.resolveNodes("Row1[*]");
    for (var i = 0; i < rows.length; i++)
        var row = rows.item(i);
        if (!row.DropDownList1.isNull)
            dropDownItems = dropDownItems.filter(function(element) { return element !== row.DropDownList1.rawValue});
    this.setItems(dropDownItems.join(","));
    The first line initialises a variable with all the possible values and then we go though each row filtering out the ones already selected. 
    You will probably have to change the form object names to suit you form, but here is my sample to test the code, https://files.acrobat.com/preview/eb0256dc-af30-4f7c-9187-469ba84464a4
    Regards
    Bruce

  • Displaying user selection from drop down list in static text on master page

    Hello,
    I am using LC 7.0 at workk and I have hit a road block.
    I have a drop down list at the top of the form. Once the user makes a selection, I want to take that value and paste it in static text located on the master page. I can't seem to get it to work.
    Please help!!!

    Hi,
    Place the Drop Down list on form
    Place text object(s) on master page
    here is the script to display the value and/or text of drop down
    Script will be on Drop Down list events
    Calculate event to display value of DD - FormCalc
    form1.pageSet.Page1.StaticText1.rawValue = this.rawValue;
    Change event to display Text of DD - JavaScript
    form1.pageSet.Page1.StaticText2.rawValue = xfa.event.newText;
    SAVE the form as dynamic pdf.
    Hope this will help.
    Thanks,
    Raghu.

  • Not able to select in drop down list

    We have an on line database for our school. I can move around in it fine but when I try to select an item from a drop down list nothing happens.
    Any thoughts?

    There are a couple things you can try:
    1. Go to Settings > Safari > Advanced > Debug Console and turn it ON.  Return to Safari and reload the web page.  Tap the Debug Console banner to see any issues when loading the web site.  Then try tapping the drop-down list (select element).  Do any new issues appear in the Debug Console?
    Don't be alarmed if there are a lot of items listed in the Debug Console.  Most of the time they're harmless.  You're looking for a JavaScript error message (as opposed to CSS or HTML) that might give a clue as to why the page doesn't work.  Is there is a JavaScript message that corresponds to the broken drop-down list?
    2. Launch OS X Safari.  Open Preferences (Cmd-,).  Click on Advanced tab.  Check the "Show Develop menu in menu bar" checkbox.  Open a new browser window (using Cmd-N).  With the new browser window focused, select Develop > User Agent > Safari iOS 5.0.1 – iPad.  (You can check that the setting is correct by loading http://www.whatsmyuseragent.com/ and comparing it to the real iPad.)  Then navigate to the same page with the inactive drop-down list.  Does the same issue occur as on the iPad, or does the drop-down work?

  • Adding a "blank" selection for drop-down menus under list items.

    A lot of people on this form are accidentally selecting items that shouldn't be selected and need to be able to change the drop down menu back to blank if they have made a mistake and selected a wrong drop down item in the wrong area.
    Please help,
    Thanks!

    Add an item to your Dropdown list with Blank as text and some value to it.
    When you want to rest to blank, just simply set the rawValue to the value against the blank text.
    For example if I add a blank text and assign a value "1" to it.
    Then in the code I may use like below to rest it to Blank Text.
         DropDown1.rawValue ="1";
    Thanks
    Srini

  • Making multiple selections in drop down lists

    How do I configure drop down lists to allow for multiple selections?

    Hi,
    I am wondering how to best design the list box to allow for multiple selection? I have 4 items i need to have in the box but how do i best communicate it to the end user that they can select more than one or need to select more than one option and how they do that?
    Thanks.

  • How to filter selection in drop down box in Report Builder 3.0

    New to SQL reporting services -
    what is the syntax for filtering the drop down list in Report Builder 3.0? 
    I have the following:  =Parameters!ReportParameter1.value   and =Fields!Store.value 
    my drop down shows the project name numerous times rather than just once.

    New to SQL reporting services -
    what is the syntax for filtering the drop down list in Report Builder 3.0? 
    I have the following:  =Parameters!ReportParameter1.value   and =Fields!Store.value 
    my drop down shows the project name numerous times rather than just once.
    Hi ,
    If I understood your requirement clearly then you need distinct value in Parameter list.
    In this case you need to select a distinct record in dataset that will be further used as Parameter input.
    Lets say your pameter accept value from dataset1;
    select 'Project1' pp
    union all
    select 'Project1'
    union all
    select 'Project1'
    union all
    select 'Project2'
    union all
    select 'Project2'
    union all
    select 'Project3'
    so in this case your report parameter will show.
    By selecting distinct record  you will get ;
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

Maybe you are looking for

  • Creating Icons/Graphics for High DPI Displays, naming and sizing

    I'm having to create and deliver graphics and icons for a native desktop windows applications that must support Windows 8.1 and variety of screen resolutions which ranges from standard resolution monitors to new 4k high density displays. Typically fo

  • Trace last touch of Transformation or DTP

    Hi Gurus, Can you help me out trace the person or TP which deactivated our Transformation and/or DTP in BI 7.0? The only information I could get is the time when Transformation had been changed (in the Properties of the Transformation).  Thus, I've c

  • Sharing grayed out; admin overview shows not available

    My Xserve has suddenly stopped allowing "sharing" in Workgroup Manager, and in Admin, the overview shows "Not Available" in all areas including System Start Time. All volumes are available over the network but one of them is not showing up even in th

  • Using iPhone as iTouch

    I have an iPhone 3G with a cracked screen that my son uses as an iTouch. I upgraded it to OS4 today and now it won't work - it keeps asking for a SIM card, which of course we don't have (we use its old SIM card in a newer phone). Any help?

  • Icloud useless if apple software wonky?

    After replacing my phone twice, running diagnostics at the Apple store, two restore from icloud and now restore as new phone - all trying to solve strange unpredictable iphone behaviour Apple Genius tells me that I should be using a non-Apple cloud b