Translate static LOV values ?

Hello,
I need to translate a French application into English. I've followed the translate processus, but I've got a problem with static LOV values.
I use radiogroup with static LOV, and it seems that I can't translate these static values, but I have to do it.
Any idea to help me?
Tanks

Another solution is to define both French and English (or whatever) item in the LOV. For each item in it, you specify a "Conditional Display: current language = Expression" --> fr-ca for exemple. So in your LOV, you will have something like this.
YES --> Y
NO --> N
Oui --> Y
Non --> N
Depending on the current language, you will see only 2 items in that LOV.
That should do it.
Christian

Similar Messages

  • SQL Select on Static LOV

    Hi,
    Im using XML Publisher to produce PDF Reports from my APEX application. Im using XLIFF to translate my application.
    I need to decode some code values that may be multi-lingual from my application with SQL to produce the reports in XML Publisher.
    Is it possible to access your Static Application LOVs from SQL? (Maybe some APEX Function??)
    If it is possible can you also access your translated Static LOVs from SQL?
    Thanks in advance!
    -Immanuel

    If you are running 3.0, the views are exposed in Utilities > APEX Views.
    I just checked and we have specifically excluded the translated applications from the views - we will rectify that in some way in a future release. For now, I suggest you:
    <ol><li>search your install for this file - apex_views.sql</li>
    <li>copy the create statement for APEX_APPLICATION_LOV_ENTRIES</li>
    <li>change the name of the view (so that you won't overwrite the one you have)</li>
    <li>remove the following from the where clause
    and not exists (
    select 1 from wwv_flow_language_map
    where translation_flow_id = f.id)
    </li>
    <li>run the statement as FLOWS_030000 (using either SQL*Plus or SQL Developer)</li>
    <li>grant access on the new view to public (and create a public synonym if you don't want to qualify with FLOWS_030000)</LI>
    </ol>
    You will now have a view that will have all your lov values and you can join by the translated application id to find the rows you need. Given that this is so specific, you could even customize your new view further to provide you just what you need, without all the extra columns.
    Hope it helps -
    -- Sharon

  • How to display the dispaly-value of a static LOV in a report?

    Hi,
    I want to display the Display-Value of a lov in a report
    How can i procede?
    thanks

    ok,
    My problem is the following:
    Say that I have created a static lov 'lov_colors' with the following values:
    display-value return value
    red 1
    blue 2
    green 3
    And i have a table 'object' wich has the following fields :
    object_name varchar2(100);
    object_color number;
    I want to make a report on the table object but in stead of displaying the number of the color,
    I want to display the name of the color that is in Lov_colors
    I hope that my question is clear.
    thank you

  • Set default value in static LOV

    Hi,
    I am using Jdeveloper 11.1.2.0.
    I used static LOV in table CRUD operation.
    Problem is , default value can not able set(in static LOV) in
    first row of table. But remaining row was working fine.
    Thanks in Advance

    i also had like this. static lov. it's fine
    just choose literal and give N
    dont give like this 'N'
    is like this in you yourvo.xml
    <ViewAttribute
        Name="GlalStatus"
        PrecisionRule="true"
        EntityAttrName="GlalStatus"
        EntityUsage="GlLvlAccountsEO"
        AliasName="GLAL_STATUS"
        DefaultValue="N"/>Edited by: ADF 7 on Feb 16, 2012 11:25 PM

  • Translate checkbox based on static lov

    Hi,
    I have a single checkbox field that is defined as 'STATIC:checkbox title;Y'
    I don't know how to translate 'checkbox title' string. It doesn't appear in the export XLIFF file.
    Please advice.
    Thanks

    Hi Edward,
    Static LOV's at Item Level aren't supported by the APEX Globalization mechanimism, you'll have to define it globally in shared components.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Graph using static lov

    I am using a static lov which has a code and description. I select an entry from this lov and it's code is stored in a table.
    I now want to create a chart on the contents of this table, but need to translate the code stored in the table to the description stored in the static lov.
    Is it possible to do this? If so, any hints!?
    Toby

    So you have a table with a code value in it. The description of the code value is in a static LOV item. I would suggest creating a table in the database with the code and description. Then use a dynamic LOV instead of the static LOV and of course for completeness sake create a foreign key from the table you currently have to your new LOV table.
    Now to get the description of a code, you just do a SELECT on your code/description table. This would be helpful for a chart title maybe?
    Your LOV item on your page will visually display the description, but when referenced it will have the value of the code. So have your SELECT statement in your chart reference your LOV in its WHERE clause.
    Mike

  • JDEV 11g R1: Static Lov does not refresh on changing locale

    Hello,
    I have created a static view object. Then created another view object that has an attribute defining a LOV using the former view object. In the web application I change the locale programmatically. I'm trying to set locale in ViewRoot, and also in the binding container:
          JSFUtils.getFacesContext().getViewRoot().setLocale(new Locale(localeStr));
          ADFUtils.getApplicationModuleForDataControl(AMDC).getSession().setLocale(locale);
          ADFUtils.getDCBindingContainer().getBindingContext().setLocaleContext(new DefLocaleContext(locale));
          ADFUtils.getDCBindingContainer().execute(); The problem is that the values of static list will not be translated. Though after executing rollback operation, they will show the translated values.
    I suppose it has to do with caching LOV values.
    Do you have any suggestion?? How can I make this LOV refresh??
    Thanks, Eniko

    Hi,
    taking it from:
    +"However , if we refresh the table or reload after save , the toop tip also get change . but we need to update the tool tip on change the lov . any suggestion ? "+
    The autput text component is part of a table ? If so then the table needs to be refreshed as the values in there are stamped. If I am wrong with my table assumption and the output text is part of a form, try setting clientComponent="true" for the output text field
    Frank

  • Referencing static LOV from plsql

    I have a number of static LOV's. How can I reference these in PL/SQL.
    For example, I am creating a report using PL/SQL so that I can create the exact layout I require. The data uses a number of list of values so I need to convert the value fields into the displays fields from the list of values using PL/SQL.
    How?

    Jezzer,
    It will depend on your version. If you are using 2.2 or 3.0, you could use the view APEX_APPLICATION_LOV_ENTRIES to access your lov values. It will automatically be limited to the workspace that your schema is associated with and then you can further qualify with the APPLICATION_ID and LIST_OF_VALUES_NAME. To see the view, navigate to Utilities > Application Express Views and query on lov.
    -- Sharon

  • Bug Report: Static LOV's and PDF Printing with Tabular Forms

    I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
    Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
    To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
    Anyway, I link my report with the layout created, and go to run it. I get this message.
    ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
         Error      ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
    OK      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
    I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
    It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?

    Hi Patrick.
    I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
    [STATIC:Yes]
    [No        ]
    ----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
    It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
    However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
    Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
    Cheers,
    K.

  • Static LOV functions differently in 9.0.2 from 9.0.1

    In my previous Portal applications under IAS 9.0.1 I had several static LOV's that contained the following structure:
    DISPLAY VALUE RETURN VALUE
    Login User Name #PORTAL.wwctx_api.get_user
    This worked as expected, the user sees the display of 'Login User Name' in a drop down list on a form, but the users login name was actually inserted into the table when Insert is selected.
    I've since upgraded IAS to 9.0.2 (no patchsets installed)
    This same LOV no longer works. What gets insert into the table is the string "PORTAL.wwctx_api.get_user" and not the users name, as before.
    I know I can kluge something similar into a dynamic LOV but does anyone know why this function call no longer works? I have several similar LOV's that get sequence number nextval's in a similar fashion and they no longer work either.
    Thanks

    A TAR has been created concerning this issue, 2841152.996. If anyone has had similar results, please review it at http://metalink.oracle.com/metalink/plsql/tar_main.single_tar?p_tarNumber=2841152.996&p_countryCode=840&p_show=Show++

  • Table Filter with static LOV column

    Hi,
    I am using JDeveloper 11.1.14 and ADF-BC in my project.
    For one of the tables,I have the following scenario.
    1. I have a viewobject [Ex: EmpVo] in which one of the attributes has a static LOV[:Ex: 'Status' attribute in EmpVo has static LOV - StatusLOV with values A - Active I - Inactive].
    2. EmpVo -- > Employee table which stores A and I as status values in database
    3. Display this view object as table in jsff page.
    In the jsff page, when filter is enabled, for the status column I am able to filter only using 'A' and 'I'.
    But actually filter has to work with 'Active' and 'Inactive' as filter values.
    Please suggest the best way to implement filter in this scenario
    Thanks,
    Praveen

    Take a look at the following article:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    Here, for LOV's you could have an LOV as a filter component instead of the default inputText component.
    Thanks,
    Navaneeth

  • STATIC vs STATIC2 in static LOV definition

    Hi All,
    what is the difference between STATIC and STATIC2 ?
    The documentation on creating checkbox references word 'STATIC'. When I create static LOV by clicking 'Create or edit static List of Values' link on 'Edit Page Item' this uses word 'STATIC2' in LOV definition.

    One sorts values alphabetically and the other in the order in which they are written.
    Jure

  • Conditionally display items based on null LOV value

    Hello,
    I've seen several examples that do what I'd like to do but with different implementations. Perhaps someone can steer me in the right direction...
    I have a pop-up lov that pulls a list of names from various places. If, however, the name cannot be found I'd like to display a few text boxes where the user can enter a new name.
    For my list of values I have configured the following:
    Display Null: Yes
    Null Return Value: -1
    Null Display Value: Not Found
    My HTML Form Element Attributes has: onchange="doSubmit()";
    My Source section has:
    Source Used: Only when current value in session state is null
    Source Type: Static Assignment (value equals source attribute)
    My entry text boxes have a condition specified:
    Value of Item In Expression1 = Expression 2
    Expression 1: P4_LOOKUP_NAME
    Expression 2: -1
    I also have an unconditional branch to this same page (Page 4) that sets the value of P4_LOOKUP_NAME to P4_LOOKUP_NAME.
    I cannot seem to get this item to display though...any thoughts?
    Thanks in advance for your suggestions!

    jhammer,
    I like the concept. This would require a custom popup lov - something that can be a little tricky/time consuming the first time around. The popup lov would probably have to create new entries via Ajax to be able to pass back the correct ID/display values to the parent window on close.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Dynamic/Static LOV

    Hi,
    Im havin a little trouble trying to do the following:
    I have a LOV that does a query, but besides the query I want also to have an static option on the LOV that represents all the options, any idea how can I achieve this?
    thanks

    I'm not quite sure if I have understood your requirement; you want to have a LOV which always shows the same records?
    If so there comes 2 possibilities to my mind:
    - You could create a record group at runtime, populate this record group with your desired values, and assign your record group to your LOV.
    or
    - create a table where you store your static values you want to show, and do a query on the table. Maybe you could add a realm to the table, as if you wish to use your static LOV elsewhere you could also simple use your static LOV table...
    maybe
    select key_col, name_col
    from static_lov
    where realm = 'FORM1_LOV1'regards

  • Disable Static LOV

    I'm an APEX 4.1 user and a novice. I have a tabular form with several columns and rows of data. Each row has a static LOV and a comment field for end users to modify and save. I want to disable the LOV and comment field (at a row level) whenever the end user selects certain values in the LOV and saves. I've looked all through the forum and didn't seem to find the solution for my particular scenario. Any suggestions would be greatly appreciated.

    bump

Maybe you are looking for

  • Problem with documents on iCloud.

    I have a problem with documents on iCloud, I can`t use it with Pages on Mac and iOS too, Pages not view any documents and can not approach to save documents and not save new documents to iCloud. Any idea? Thank you for help.

  • Access Denied Error when trying to do a Search

    Hi, We are using the BP for CRM 5.0 and we are facing that the iviews are working but when we go into ie. a new Service Order and in one field we click on the icon to do a search of the value to fill in the text field, we are getting this error: Acce

  • Table Contents

    Hi, I have created a table using se11. I would like to insert 100 records in table at a time. How I can upload this bulk data in the table. Thanks, Pratibha

  • DataLoad Rule file - Date conversion

    Hi, While working on a Dataload rule file,I was facing this problem. I'm getting date in the format "m(m)/d(d)/yyyy hh:mm:ss". Is there a way to change this to "mm/yy" ?? (There won't be anyproblem if I get mm/dd/yyyy hh:mm:ss style. but unfortunatel

  • Download does not occur?

    I am in the desktop app and I select adobe pdf download and nothing happens. this is my first time and I need to take some pictures and turn it into a pdf file. Can I contact someone to help?