Translations: how to set the language of the application

Hello

I have a translated application (our company site). It is created with a primary language Danish = (app_id = 100).
It has been translated into English (app_id = 201). The global settings for the application (100) is configured to use the browser
preferred language to determine the language of the application.

This works very well for the browsers value Danish (da) or English (en). However when french, Germans and others open the application it
by default, Danish - which is not easy to understand for them :-).

What I would like is that any browser that is not defined in Danish, will receive the English version of the application.
Can it be done?

Brgds
Martin

Hi Martin,

Well, you can control this is derived from the language of the application preference of an application or a preference element. Then, you can use the language of the browser to dynamically set the preferred language of the user application. It's like some pseudocode:

declare
    l_browser_lang varchar2(4000);
begin
    l_browser_lang := owa_util.get_cgi_env ('HTTP_ACCEPT_LANGUAGE');
    if substr(l_browser_lang,1,instr(l_browser_lang,',')-1) = 'da' then
        :FSP_LANGUAGE_PREFERENCE := 'da';
    else
        :FSP_LANGUAGE_PREFERENCE := 'en';
    end if;
end;

In this way, it is now for you to determine the rules when someone receives the Danish version compared to the English version. Does make sense?

Joel

Tags: Database

Similar Questions

  • How to set the Application Manager to install applications in a place?

    I'm subscribed to Adobe Creative Cloud. I downloaded Adobe Application Manager. I have a laptop with a 80 GB SSD (c) and (d) 1 TB data reader. I would like to install all the applications on my D drive, because I don't have the space on my C drive, and I want to keep this OS only.

    I found the instructions from Adobe on how to change the Adobe Application Manager installation path. I changed the settings to install in the directory path "D:\program files (x 86) \adobe\" of course that doesn't work sometimes.

    adobe-app-manager.jpg

    Some applications have been installed in the directory I specified. Somewhere, installed in the correct directory, but on the C drive. Then I used the update to Adobe in the tray system, a few days ago and now Adobe is to install applications in the wrong directory on the wrong drive.  "Program Files (x 86)(x86)?

    adobe-installation.jpg

    Then, it is almost impossible to find someone from Adobe to meet. Incredibly frustrating. I really don't understand how a basic installation function can then be screwed to the top.

    Does anyone have recommendations?

    When you connect creative cloud, upward in the upper right corner there is a gear wheel > preferences, you have 2 menu items, general and Creative cloud, select creative, select Install Location.

    Good luck!

  • How to set the voltage on a 3.3 volt NI 9237 module?

    Hello

    How to set the voltage on a 3.3 volt NI 9237 module?

    The voltage is now at 2.5 volts.

    This is my first time with this camera.

    This set of MAX or are there jumpers?

    I want the value of the excitation voltage at 3.3 Volts and do not change.

    The NI 9237 is a NEITHER cDAQ-9172.

    Thank you

    Bill

    Hi POBA,.

    This can be set to your programming environment.  For example, LabVIEW Signal Express, a task of MAX, or a DLL call in a text-based environment.  You want to create a strain, tension Custom with excitement, or any bridge based task in any environment.

    "" "In MAX, right-click on your device and choose create a task" acquire signals "analog input"...

    "" "In LabVIEW, place a DAQ Assistant" acquire signals "analog input"...

    "" "In Signal Express, add a step for Acquire" DAQmx Acquire"analog input"...

    In any C language based, you will want to call a function such as: DAQmxCreateAIVoltageChanWithExcit, DAQmxCreateAIStrainGageChan, DAQmxCreateAIBridgeChan

    You can then specify the Source of Exictation to be internal to 3.3V.

    Best,

  • How to set the character encoding in Blackberry

    Hello

    In my application, I get the data using http server methods...

    now my question is that, in that the data is seen some like that

    ex: Córdoba, but inside, I do not like this...

    After some R and D, I thought that I have to set the character encoding...

    can someone tell me how to set the character encoding and how I can get all languges in my application

    See below the code for reference

     HttpConnection c = null;
                        InputStream is = null;
                        DataOutputStream os = null;
                        int rc;
        c = (HttpConnection)Connector.open("http://10.10.10.00012:8585CountryDatar;deviceside=true;");
                                c.setRequestMethod(HttpConnection.POST);
                                c.setRequestProperty("If-Modified-Since", "29 Oct 1999 19:43:31 GMT");
                                c.setRequestProperty("User-Agent", "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                                c.setRequestProperty("Content-Language", "en-US");
                               /* Getting the output stream may flush the headers */
    
                                os = (DataOutputStream)c.openDataOutputStream();
                                byte[] res = net.rim.device.api.system.GPRSInfo.getIMEI();
                                os.writeUTF(net.rim.device.api.system.GPRSInfo.imeiToString(res));
    
                                os.flush();
                                /* Optional, getResponseCode will flush
                                    Getting the response code will open the connection,
                                    send the request, and read the HTTP response headers.
                                    The headers are stored until requested.
                                */
                                rc = c.getResponseCode();
    
                                if (rc != HttpConnection.HTTP_OK) {
                                   throw new IOException("HTTP response code: " + rc);
                                }
    
                                is =(DataInputStream)c.openDataInputStream();
                                 byte[] data1 = new byte[256];
                                 int len = 0;
                                 int size = 0;
    
                                int ch;
                                StringBuffer sb = new StringBuffer();
                               while ( -1 != (len = is.read(data1)) )
                               {
                                    sb.append(new String(data1, 0, len));
                                }                
    
                             data = sb.toString();       //Here data is a string storing all data came from server
    

    Give us a break please.  I have other things to do!

    You set the encoding here:

    SB. Append (new String (data1, 0, len));

    Most of the servers give you UTF - 8, but you know that.  Anyway, if it is UTF - 8 follow these steps:

    SB. Append (new String (data1, 0, len, "UTF - 8"));

  • How to set the simultaneous request completed with warning?

    Hi all:
    How to set the simultaneous request completed with warning in oracle 11.5.9?


    For example:

    I completed an application with "Completed" 'Normal '.
    After I put a condition similar to when xxx > 0 then
    It will complete a request indicates 'Complete' 'warning '.



    My environment is: oracle 11.5.9 and operating system is Linux Redhat 4.0



    Concerning
    Terry

    Terry,

    You can use 'FND_CONCURRENT. Function SET_COMPLETION_STATUS.

    Note: 866194.1 - is there a method to return a 'Warning' to host Language simultaneous program status?

    The Oracle Applications Developer's Guide
    http://download-West.Oracle.com/docs/CD/B11454_01/11.5.9/Acrobat/115devg.PDF

    FND_CONCURRENT. SET_COMPLETION_STATUS
    http://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT.SET_COMPLETION_STATUS&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

    Thank you
    Hussein

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

  • How to set the default android home page.

    How to set the home page in the latest browser of firefox for android?

    Hello:

    Unfortunately you can not remove the top sites home page but you can pin a site, remove a site from unpin it and change the url of a pinned site.

    Please read this article for instructions.

    I hope this helps!

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

  • Satellite C660 - how to set the focus of the webcam?

    Hello

    Just bought this laptop, the built-in webcam looks very blurry when I use Skype. Does anyone know how to set the focus to the subject?

    See you soon
    Jules

    Hello

    to be honest, I have no idea on your model of lap... Try to update driver webcamd and play with Skype video settings.

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

Maybe you are looking for

  • How to fire an event with a Boolean button only when you switch on IT?

    Hi, I have a problem with my structure of the event: I use a value Boolean on/off button to launch a State (using producer consumer architecture). When I turn it on, my structure of event get "change value" and the code is executed. But when I turn i

  • HP Pavilion Notebook 15-p012ne: HP pavilion p 15 012 ONLY

    Hi guys! New in the forum. I recently bought a HP Pavilion 15 p012ne. I was reading this model quite some time and now ive bought. basically because im an AMD fan (AMD user since 2009) However, the shop I got my unit gave me a unit which has no dedic

  • Serscan.sys

    I have installed my HP printer 6500 wireless and every time I start up I get a message that says that the serscan.sys on Windows XP Home Edition CD ROM file is necessary. The path it is looking is C:\WINDOWS\system32\DRVSTORE\hpwscu01_D71A5E815C9E 2C

  • Your backup configuration is not valid. Review your backup settings. 0 x 81000029

    Original title: Window Vista backup 0x81000029___File backup code might not save your automatic setting for the backup configuration following reason: ___Your is not valid. Review your backup settings.  0x81000029__ I created a new backup set and got

  • Menu text starts to half way down

    HI - when I open the menu fonts to choose ie. one of the recently used font, menu rolling does not start at the top, but just little down, so I have to scroll to select the top 6 to 7 fonts (and I often need to one of the top :·) )A small question, I