Dynamic Translation using apex_lang.lang

Hello,
I've created an dynamic translated LOV using the apex_lang.lang function in the LOV.
select apex_lang.lang(NAME) display_value, id return_value
from COUNTRIES
This works fine. Now I also want country names which are displayed in Reports to be translated.
So I thougth Easy...considering the same function works :
select ID,
apex_lang.lang(NAME) Name,
ISO2,
ISO3,
from COUNTRIES
unfortunately this doesn't work. Can anybody help me?
Thx!

Problem solved.
Restarted the internet explorer.

Similar Messages

  • Dynamic Translation for  reports in apex

    I am busy investigating globalization.
    The current issue I have is that I can quite happily use apex_lang.lang(column_name) to translate lists of values.
    I put the same call in my report (based on sql query) , but the same values are not translated. I subsequently tried basing this on a report (pl/sql body returning query) but this didn't have the desired affect either.
    My Report is hidden until someone presses a button , which is when the report is produced. Since the LOV's were translated I was expecting the report to be translated as well.
    I did see another thread related to this, which appeared to suggest restarting the browser was the solution(I am unconvinced though).
    I am switching languages via a button
    My version of apex is 3.1.0

    The problem was that although the lov's get translated dynamically, you have to republish the application for the changes to appear on the report.

  • Dynamic Translations - Sometimes Translated Sometimes not

    Apex 3.1
    Oracle 10.2.0.2 on aix
    I am having a little issue with dynamic translations.
    All of the translations work okay in the LOV's, however when I use the values in reports, they sometimes appear translated and sometimes don't appear translated.
    I have been using the apex_lang.lang(column_name) function in the queries which I am using for the reports
    The only other thing probbaly worth mentioning is that the reports only appear when the page is submitted.
    The page still remains in the foreign language (its not switching back to english)
    Sometimes if I copy the english text from the report, and do another translation, the report shows up with the correct language (but I now am translating 2 strings exactly the same way)
    Any ideas on what's causing this

    I've put up a small sample on apex.com. [My application|http://apex.oracle.com/pls/otn/f?p=33452]
    Note that the application has been changed to use application express credentials so you need to basically login with your workspace and password.
    I've put data in the first two reports, which both work fine.
    In the second report (I've left the original query commented out). My second report does not translate the data, although publishing it here indicates everything is correct and it translates so I'm at a loss as to why this is the case
    I have applied my translation file and the menus/buttons etc do not appear to have been translated.
    I had a quick look at the file and it does appear the translations are there

  • Dynamic translations - how do i pull them out?

    Hello everyone,
    just a quick question:
    Suppose i have a hundred dynamic translation loaded in Apex, how do i pull them out in case i want to load them on a different apex environment?
    It seems to me that there is no way to export them, but hopefully i am wrong.
    Bye,
    Flavio
    http://oraclequirks.blogspot.com

    how nice when one realizes that there is a solution exactly in the same moment while one is pressing the "post message" button.
    Here is my "epiphany":
    dynamic translations are based on user data, which means that these data must be stored somewhere.
    Now, to pull out the translations one must execute the APEX_LANG.LANG function for the desired language(s) and store the result in some table if the returned text is different from the source text. If the text is equal for both languages it is reasonable to think that the translated text is missing or redundant.
    Thanks for my help :-D
    Flavio
    PS: however i still think it could be useful to have the option of exporting existing dynamic translations in the XLIFF files as for other named messages.

  • Dynamic translation of words

    Our application is developed using windows forms.
    In our application the user will enter lots of notes and comments.
    Which must be translated to either English or Arabic.
    What issue we faced here is when I stored the fields like notes or comments in English in database and when I want to show it in Arabic.
    That is when I translate a sentence to Arabic the meaning is not exact.
    That is word translation is good but sentence translation is not exact.
    We can use resx files if the words are static like text of label box. In my case the words are dynamic.
    We are using Bing/MicrosoftTranslator.
    What is the methodology to translate a sentence ?

    Hi, Thanks for that reply. That was really very helpful.
    Then for translation what we did are:
    1. For translating predefined texts and error message we are using .Net language pack. 
    2. We used .resx files for static translation. That is for those controls whose texts don't change dynamically.
    3. The dynamic texts will be stored as it is. That is if user types in Arabic then the data will be stored
    in Arabic, else if the user types in English the data will be stored in English.
    4. Then if the user wanted a translation in dynamic texts, we looped through all our text controls (which
    are supposed to have those dynamic texts) and got the text of each controls. Then translated those texts using Bing/Microsoft-translator.
    As we saw earlier, some part of the dynamic translation was not exact. So my client asked me what in
    general is the percentage of
    accuracy in "Bing/Microsoft Translator" translation. If you have any such documentation it will be very helpful for us.
    Thanks and Regards,
    What Next

  • How to export dynamic translations

    Hello,
    I have an application where I have defined various dynamic translation strings (Used by static LOVs). Now I want to move the application from e.g. development enviroment to production enviroment. As far as I've seen, the dynamic translations I defined are not included in the application export or the XLIFF file generated for translation purpose.
    Is there a way to export and import the dynamic translations? Or do I have to retype every single message?
    Thanks.
    Stephan

    Hello Stephan,
    >> As far as I've seen, the dynamic translations I defined are not included in the application export or the XLIFF file generated for translation purpose.
    You should see dynamic translation strings both in the main language exported file (search the file for “Dynamic Translation”) and in the XLIFF. In the XLIFF, they are inserted with the <target> tag already translated, so you don’t have to do that again.
    >> I have defined various dynamic translation strings (Used by static LOVs)
    How exactly you are using the dynamic translated strings with static LOVs?
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Data element Translations using se63

    Hi Experts,
    I am working on dataelement translations from EN to RU, but i need to change Feild label Medium to max 20 and activate that then I need to translate that to Lang RU. I am doing this by using se11... but we got more than 1000 data elements to change  feild length and translate. Its very big time taking. how to use se63 for this case. please help me out to solve this issue asap.
    appriciate for response.
    thanks.

    Its a Manual process and YES I Agree its time taking.
    SE63 language translation envirnoment doesn't provide any such functionality.
    Hope this Link gives a complete idea about translations.
    [https://cw.sdn.sap.com/cw/docs/DOC-36646]
    Edited by: Mishra.Manas on May 5, 2010 4:42 PM

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • How to create a viewobject dynamically without using wizard

    Hi,
    I am Using jDEV 11G, i need to create a viewobject dynamically without using wizard, without binding from any entity.
    Actually my intention is to make a grid like in .Net, when a user want to create a new row in RichTable without using DB.
    just like shopping cart.
    i have done thsi code:
    ViewObjectImpl view=new ViewObjectImpl();
    view.addDynamicAttributeWithType("Att1","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    Row rw=view.createRow();
    rw.setAttribute("Att1","First1");
    rw.setAttribute("Att2","First2");
    rw.setAttribute("Att2","First3");
    view.insertRow(rw);
    I have a RichTable , i need bind this viewobject into that.
    Edited by: vipin k raghav on Mar 10, 2009 11:39 PM

    Hi Vipin,
    You can create the view object with rows populated at run time.
    [http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGCGFCA]
    For reference of how to create an empty rwo at run time on button click
    [http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html]
    ~Vikram

  • Question regarding the creation of a custom dynamic stamp using "Will Print" from "Set Doc. Actions

    Hi all,
    Using Acrobat 9.0 Professional, I have successfully created a dynamic stamp using the forums where I have added Login / Date to my own image and it works great as designed.  However, the problem I am having is that when a document is stamped it becomes flat and doesn't update dynamically which does not work for my requirements.
    I need to create a pdf that is stamped by myself so that other users (using only Reader) can open the pdf and when printed the stamp will print with the correct date/time (in the format I describe below).
    I found a workaround (outside of a stamp) where I added a text box (called "Today") that updates everytime the document is printed by going to
    Advanced / Document Processing / Set Document Actions / Document Will Print
    and adding the following Java Code:
    var f = this.getField("Today");
    f.value = util.printd('yyyymmddhMMss', new Date());
    This provides me with the unique number that I need for printing  (ie: 20100317102030).  It works great as an inserted text field on my pdf.
    My problem is that when I use the "create custom stamp" as in other tutorials by inserting this new text field, it will not update (or display) on print, even though it was set the exact same way as the custom stamp I got working using the Adobe dynamic stamp information.
    Can you offer any advice on how I can get this to work as a custom stamp?  I would rather not have to create both a stamp and then overlay the text field manually as I have hundreds of documents (maybe more) to do this for.
    Also, as an aside, if I could get this to work, I would also like to add Login ID that updates in the same manner as my custom date format (but one problem at a time I guess! )
    Thanks for any and all help that you can provide.  I looked through these forums and elsewhere, but I don't seem to see anyone else with the same problems (with solutions posted).
    I really wish Adobe had a Custom Stamp creator as part of their program, with the dynamic option.  It would be so easy for them and save a lot of users so much time.

    Stamps are just like a inked rubber stamp, except in Acrobat you can suppress printing them and you can move them. So if you use a dated "Faxed" stamp when you fax a document, even though you can adjust the stamp before affixing the stamp, once the document is stamped the date on the document can not be changed or moved. It appears, that the use of a stamp might not be the best solution.
    "Interactive" means Acrobat JavaScript programing.
    With JavaScript not only can you insert variable data but also fixed text strings or a combination of both.
    So your script could be updated to something like:
    var f = this.getField("Today");
    f.value = "Printed : " + util.printd('yyyymmddhMMss', new Date());
    http://forums.adobe.com/message/1333261#1333261
    Getting the 'login name" will require some special JavaScript code being added to an application level JavaScript folder that runs upon initialization and is the data or function created is then accessed  by your PDF. This file will need to be installed on each user's system.
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?pid=30444

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • How to send an entire HTML, PHP dynamic page using phpmail()?

    How to send an entire HTML, PHP dynamic page using phpmail()
    from PHP website, similar to mail this page or send to a friend
    link?

    Hello,
    Please change the mail address
    "info[at]furkids[dot]co[dot]za" from this thread ^^^look above^^^
    to "[email protected]"
    Thank you

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hi there,
       I would like to create a dynamic newsflash using dreamweaver and PHP in that the newsflash will be pulling information from a MySQL database. The newsflash should also have a link to view more information about the piece of news a user wants to know more about. Which tools do I need to use in dreamweaver and how's the procedure to go about that. Any advice is highly appreciated. Thanx in advance!

    I think you´ll need at least a MySQL table with the following columns:
    - id (primary key, int, auto_increment etc)
    - news_headline (varchar)
    - news_teaser (text)
    - news_content (text)
    What I´d personally add are columns such as:
    - news_date (date or datetime)
    - news_external_link (varchar), if a "read more..." link is supposed to navigate to an external URL rather than displaying the contens of the "news_contents" column.
    Based on such a MySQL table it should be easy to use Dreamweavers standard Server Behaviors to create the usual datalist.php, insert.php, update.php and delete.php documents, and there are numerous tutorials out there which will teach you how to do that.
    Am I right when assuming that you´ll also need to know how to automatically pull, say, the 5 most recent news records from the database ?

  • Dynamic translation to pool error

    Hi all,
    I have an asa 8.2 with 2 interface inside and outisde.
    Ip source 192.168.50.5
    Ip destination 192.168.100.125
    Port 25
    When I do a packt trace.
    packet-tracer input inside tcp 192.168.100.125 smtp 192.168.50.5 smtp 
    Phase: 1
    Type: FLOW-LOOKUP
    Subtype: 
    Result: ALLOW
    Config:
    Additional Information:
    Found no matching flow, creating a new flow
    Phase: 2
    Type: ROUTE-LOOKUP
    Subtype: input
    Result: ALLOW
    Config:
    Additional Information:
    in   192.168.50.0 255.255.255.0   inside
    Phase: 3
    Type: ACCESS-LIST
    Subtype: log
    Result: ALLOW
    Config:
    access-group inside_access_in in interface inside
    access-list inside_access_in extended permit ip object-group No_Restricted any 
    object-group network No_Restricted
     network-object
    Phase: 1
    Type: FLOW-LOOKUP
    Subtype: 
    Result: ALLOW
    Config:
    Additional Information:
    Found no matching flow, creating a new flow
    Phase: 2
    Type: ROUTE-LOOKUP
    Subtype: input
    Result: ALLOW
    Config:
    Additional Information:
    in   192.168.50.0 255.255.255.0   inside
    Phase: 3
    Type: ACCESS-LIST
    Subtype: log
    Result: ALLOW
    Config:
    access-group inside_access_in in interface inside
    access-list inside_access_in extended permit ip object-group No_Restricted any 
    object-group network No_Restricted
     network-object 192.168.100.0 255.255.255.0
    Additional Information:
    Phase: 4
    Type: IP-OPTIONS
    Subtype: 
    Result: ALLOW
    Config:
    Additional Information:
    Phase: 5      
    Type: INSPECT
    Subtype: inspect-smtp
    Result: ALLOW
    Config:
    class-map inspection_default
     match default-inspection-traffic
    policy-map global_policy
     class inspection_default
      inspect esmtp _default_esmtp_map 
    service-policy global_policy global
    Additional Information:
    Phase: 6
    Type: NAT
    Subtype: 
    Result: DROP
    Config:
    nat (inside) 1 access-list inside_nat_outbound
      match ip inside 192.168.100.0 255.255.255.0 inside any
        dynamic translation to pool 1 (No matching global)
        translate_hits = 371572, untranslate_hits = 0
    Additional Information:
    I added a static (inside,inside) 192.168.100.125 192.168.100.125 , but still the same issue.
    Any ideas.
    Saludos 

    Hi,
    ASA Inside Interface:- 192.168.50.0 255.255.255.0
    ASA Outside Interface:- 192.168.100.0 255.255.255.0
    You are running the packet incorrectly and it should be like this:-
    packet-tracer input inside tcp 192.168.50.125 smtp 192.168.100.5 smtp 
    Also , please describe your requirement as well ?
    Thanks and Regards,
    Vibhor Amrodia

  • Unit of measure translation using CUNI

    Hi,
    I am trying to maintain unit of measure translations using CUNI transaction.
    When I save the translation detail system doesn't ask for transport request number.
    What could be the reason? Any idea?
    Thanks,
    Dipak

    Hi Dipak,
    the following SAP Notes might be helpful:
    [1047291|https://service.sap.com/sap/support/notes/1047291] "RBZMETRANS does not transport ISO codes"
    [639459|https://service.sap.com/sap/support/notes/639459] "Error message BM302, BM303, BM304"
    Best regards,
      Andreas

Maybe you are looking for

  • Connection reset by peer: JVM_recv in socket input stream read

    Dear All, We are facing a very unusual problem. In our application, there is a functionality to transfer files to a FTP server using java FTPClient. Now while transferring set of files, few times it throws the error: Connection reset by peer: JVM_rec

  • HT1349 How do I delete a notification of a Software Update from a 3G Iphone.  It shows up in my General Settings.

    How do I delete a notification of a Software Update from a 3G IPhone.   It shows up in my General Settings and I do not know how to delete it.   It is for the 3Gs IPHone.

  • How to show reasons of action based on PA?

    Experts We are in the process of implementing for different countries simultaneously. We have 10 actions which are common for all these countries. However these countries have different reasons of action for these diferent set of 10 actions. I want t

  • How to Read XML tags....

    Hi guys... Can any one here tell me how to read the XML tag in PL/SQL. In table Enquiry there are following fields. Id          number Status          varchar2(5) Request          XML Reply          XML Error          varchar2(10) Now the following X

  • Feature request for public collections (Lightroom)

    1. Ability to let others download my photos in public collections. I share my photos a lot using public collections, and people want to download them. Also, it would be great if i could control wether people are allowed to download or not. 2. I want