Translate Application- browser application based on the language defined

Dear All Expert,
My oracle apex application is develop in oracle 11g XE edition, apex application primary language is in english. And i would like to switch my application to chinese language based on the language defined on my oracle database table.
I did translated my application to chinese language and published.
I created application processes called "set_language", the conditions type is "Request = Expression 1" and i set "Expression 1" to value "LANG". (Fire on header load)
setlanguage pl/sql as below;_
begin
owa_util.redirect_url('f?p='||:APP_ID||':'||:APP_PAGE_ID||':'||:APP_SESSION);
end;
I created a button with label "chinese" on my login page. This button will send a request "LANG" and set "FSP_LANGUAGE_PREFERENCE" to value "zh-tw" ,and redirected to my login page again when button pressed. This work fine.
My question here is how can i automatically browser the apex application based on the language defined on my database table. (I had a table to stored language to be use browser the application.) Mean that i want my apex application to check the language from my db table in order to browser the application based on the language defined.
How can i do that? Can anyone help on it?
Another question is about the logout in chinese language display.
The application will automatically switch to english when i logout my application. How can i maintain in chinese language?
Thanks a lot in advance!
Best Regards,
Apex Junior.

Hello, (What is your first name?)
>> I tried to used session as derived my second language which is "zh-tw".
The Session option allows you to use the built-in procedure apex_util.set_session_lang or the parameter p_lang - as part of the application URL – to dynamically set the application language.
If you use the p_lang parameter as part of your application URL, the first page – including the login page – will be rendered according to this parameter. In your case it can look something like this:
http://. . ./f?p=1234 . . . &p_lang=zh_tw
>> From your reply, you are suggested to use APPLICATION PREFERENCE(FSP_LANGUAGE_PREFERENCE).
As I mentioned in the last paragraph of my previous reply, if you choose to set the application language for each individual login, based on a parameter you need to fetch (like the database language), you don’t need to use application preference. The latter is useful when the user preference is lasting (i.e., a certain user is using the same language all the time, although you have the option of changing it). If the language can change from one session to another, based on dynamic parameters in the database, the best is to use the * FSP_LANGUAGE_PREFERENCE* item.
The advantage of using the p_lang parameter is that it allows you to set an appropriate language even for the first application page (usually the login page). Using the FSP_LANGUAGE_PREFERENCE item requires you first to set its value. Before that, the Application Builder uses the primary language to render the first page, and because of that, the first rendering of the login page is in the primary language.
I want to draw your attention to the Browser (use browser language preference) option. If your application language tightly correlated with the browser language – it’s reasonable to assume that users that want to use zh-tw in the application, also using the same language in their browser – this option is a very simple and straightforward to set the application language from the first page.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

Similar Messages

  • I want example application in c# based on the duplicate detection alogrithm

    duplicate detection alogrithm
    Step 1: Consider the Stemmed keywords of the web page.
    Step 2: Based on the starting character i.e. A-Z we here by assumed the hash values should start
    with1-26.
    Step 3: Scan every word from the sample and compare with DB (data base) (initially DB
    Contains NO key values. Once the New keyword is found then generate respective hash
    value. Store that key value in temporary DB.
    Step 4: Repeat the step 3 until all the keywords get completes.
    Step 5: Store all Hash values for a given sample in local DB (i.e. here we used array list)
    Step 6: Repeat step 1 to step 6 for N no. of samples.
    Step 7: Once the selected samples were over then calculate similarity measure on the samples
    hash values which we stored in local DB with respective to webpages in repository.
    Step 8: From similarity measure, we can generate a report on the samples in the score of %
    forms. Pages that are 80% similar are considered to be near duplicates.
    this is my duplicate detection alorithm. i want some example windows application in c# based on alogrithm.

    Yu may want to use a dictionary which has a built in hash table for the key.  See code below for starting point
    List<string> input = new List<string>() { "abc", "abd", "def", "ghi" };
    Dictionary<string, List<string>> dict = input.AsEnumerable()
    .GroupBy(x => x.Substring(0,1), y => y)
    .ToDictionary(x => x.Key, y => y.ToList());
    jdweng

  • How can I use an application based upon the Siebel High Interactive Framework?

    I ma trying to use an application that is based upon the Siebel High Interactive Framework and can't open the software on my MacBook Pro. IS there any solution to this problem?

    My vote is pick up VirtualBox and download Windows 8 Preview, both are free, and see how that goes. Even though a deveoper preview and has IE10 this is my primary OS and browser. Only issue is getting it into a VM but that should be okay, and at least you can decide from there.
    Windows 7 64-bit SP1 Home Premium System Builder ($95) otherwise and then Parallels 7 or run natively.
    http://news.softpedia.com/news/Download-and-Install-Windows-8-on-a-Mac-with-Para llels-7-0-15050-231759.shtml
    http://msdn.microsoft.com/en-us/windows/apps/br229516
    VirtualBox 4.1.4 is includes a Windows 8 Template for guests.
    http://www.virtualbox.org/wiki/Downloads
    http://skear.hubpages.com/hub/Installing-Windows-8-Developers-Preview-Edition-on -VirtualBox

  • Webdynpro Appl screens in different languages based on the browsers languag

    Hello Everybody,
    In Java Webdynpro, how to get the screen elements in different languages, based on the browser language selected.  It means.. for instance, we have the requirement to show the application in two languages, based on the language setting(language selected in the browser) of the users browsers.
    We have to read the  browser language selected and based on that value, we have to get the screens to come in that language. 
    Is that only through the Internationalisation process or is there any other way to do this.
    Please help us by posting your concerns....
    Thanks & Regards,
    Ravi
    Edited by: ravi shankar on Apr 28, 2009 6:36 AM

    Hi Ravi,
    Probably the following topics on SAP help could provide the solution you need:
    http://help.sap.com/saphelp_nw04s/helpdata/en/2d/e7381138a8d2458f1f4fac32614f71/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/db/f2674039c6c549e10000000a1550b0/frameset.htm

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • Need to launch specific document and wave file based on the inbound Route Point

    I am having issues using CDA in terms of creating the appropriate WF to launch both a wave file and specific Word document based on the inbound DNIS.  I have UCCX 8.0(2) SU3 enhanced so I can't use HTTP.  I really need a solution today.  Thanks.

    I did script to play the file to the agent as a whisper then hang up and ring the line again to connect the caller to the agent but the customer didn't like that at all so i just created the WF to launch from the same filepath on all machines to point the the appropriate wave files based on the DNIS.  Because the customer has enhanced I'm not launching the Word docs as PDFs in a integrated browser like I'd prefer but as an external application.  Again, based on the DNIS. 

  • How do I change the language in my online profile?

    Hi,
    I live in Italy and thus my profile was automaticaly set to Italian. How do I change it to english. This is annoying...
    best
    p

    Hi pepe124,
    Use the Creative Cloud app for desktop to change the user interface language of a Creative Cloud application.It's possible that some applications aren't available in the language you have specified. Such apps are installed with default language settings.
    To check the supported languages for the apps, visit the https://creative.adobe.com/products, and then choose an app.
    Please refer to http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html for more info.
    Thanks!
    Eshant Jindal

  • I don't want the language bar switches automatically depending on the site until I change it manually.

    I am using firefox 4.0 in mac. Whenever I go to the korean site, the language bar switches automatically to korean from english, but if I am back to english based site, the language still keep korean. I don't want the language bar switches automatically depending on the site until I change it manually. It's very annoying. Thank you.

    I don't know why it says that I use firefox 4... When I check in my About window it says 18.
    I do ignore the message about the plugins. But I've started to get a little bit annoyed that I have to move up and press the little x every time I navigate to a site that needs something like flash. It eats up the size of about two text rows... it feels so unnecessary that it's there. If I want flash I will install it... The browser doesn't have to inform me about it every time.
    I really hoped for a better answer. Hopefully the firefox crew will add an option to not show that kind of messages in the future.

  • How can I keep Firefox from changing the language for the spelling checker?

    I'm using Firefox 20.0 on Fedora 17 (Xfce) fully updated. At random intervals Firefox will either set the language to some random version of English (Zambia, much of the time) until I notice and set it back or it will simply uncheck US English without selecting anything else. It also turns the spelling checker off once in a while. It's hard to say just what, if anything, triggers this because I only close Firefox for updates, and only reboot for kernel updates. Most of the time, my computer runs 24/7 and Firefox stays open sometimes, for over a month without any other issues. I found two old, closed threads on this, but neither of them had anything applicable.

    There's an issue with this because Firefox looks at the page you're visiting and decides on the dictionary based on the language code. At least according to this [https://bugzilla.mozilla.org/show_bug.cgi?id=682564 bug].
    I'm still looking to see if there's anything that can be done to stand on the programs neck until it cries uncle and uses EN-GB regardless. But I'm not holding my breath.

  • Switch JSON data file based on selected language

    I would like to switch my json file that contains the data for my app based on the language selected.
    Basically that would mean changing the data uri to point to the new uri when the language is changed:
    Uri dataUri = new Uri("ms-appx:///DataModel/SampleData.json");
    I am using the below switch for this purpose:
    System.Globalization.CultureInfo ci = System.Globalization.CultureInfo.CurrentUICulture;       
    string locale = ci.ToString();       
    switch (locale)       
    case "fr":               
    { Uri dataUri = new Uri("ms-appx:///DataModel/SampleDataFrench.json");
    break;
    case "en":               
    { Uri dataUri = new Uri("ms-appx:///DataModel/SampleDataEnglish.json");
    break;
    I get the error: "The name 'dataUri'does not exist in the current context. What am I doing wrong and how to fix this?

    Using 'dataUri' variable outside switch case would raise this error. Try declaring Uri type variable outside the switch case & use it then all over.
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • RH8 browse sequence based on TOC not working as expected

    I have several standalone projects for which RoboHelp's browse sequence tool correctly generates the browse sequence based on the TOC using a book level of 0 (zero) so that it picks up everything in order.  If a project has books A and B (which are not themselves topics), and each book has two subtopics, A1, A2, B1, B2, the TOC-based browse sequence is A1, A2, B1, B2.  For a project I inherited (originally designed as 40 separate merged projects that I combined into a single .xpj project), "books" A and B for the example above are also topics.  When I generate the browse sequence based on the TOC using zero for the book level, instead of getting A, A1, A2, B, B1, B2, I get A, B, A1, A2, B1, B2.  The TOC runs through all 1st level items first, cycles back through all 2nd level item, then 3rd level, etc.  Has anyone seen this before?  Any ideas how to fix it?  Does the problem have anything to do with the fact that the "books" in this project are also "topics"?

    Create a new TOC and make it a copy of the existing TOC.
    Then remove the topics from the books and try again with the browse sequence.
    I don't know that will fix it but it is what I would try first.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Can I get the language from device?

    with the adobe packager 3.0 can I get the language from device?
    thanks

    You can get the devices "Language" setting by looking at the first element of the array returned by Capabilities.languages.
    Unfortunately the codes returned don't seem to always match the standard naming convention for language codes.
    var languageSettings:Array = Capabilities.languages;
    if ( languageSettings.length > 0 )
        if ( (languageSettings[0]).toString().toLowerCase() == "en-gb" )
            // Do something based on the language being "British English" in this case.
    I still need a way to determine if the user is using Canadian English, but the device seems to only have 2 English settings (English and British English).
    There is a Canadian "Region Format" setting also under Settings->General->International->Region Format, but I'm not sure how to access that information.
    If anyone knows how to access the region format, I'd love to know.
    Thanks.

  • 10G-form: How to open 2nd form based on the queried result in 1st form?

    Form1: text_item1, search_result_text_item11, search_button, go_button
    Form2: text_item2
    When I press search_button on Form1, I am able to get the result in search_result_text_item11 based on the query defined in the search_button TRIGGER.
    So I've value in search_result_text_item11.
    Now I want to copy search_result_text_item11 value of Form1 to text_item2 value in Form2 when I click go_button;
    How do I do it?
    Thanks.
    Gaurav

    i can think of two ways,
    one is pass it as parameter, when you are calling the new form
    or
    in form1, in the when-button-pressed trigger of your go_button, copy the value of search_result_text_item11 to a global variable...
    in form2, in when-new-form instance, assign the value of the global variable to text_item2
    just be sure to erase the global variable immediately after you assigned to text_item2. also, you may want to put, default_value before assigning the global variable to the text_item2, this is to ensure that you will not have error when the global variable is not created.

  • Formatting dates according to language defined in "Regional format" (not "Country/Region") setting

    Hi all,
    How do I format a date/time value according to the language defined in Settings > Region > Regional format on Windows Phone 8.1 (WinRT)?

    Hi Gabriel,
    Windows.Globalization.Language class provide the functionality to the regional format in windows phone, access it and create
    a new cultureInfo object. Have a look at the following link for details.
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/d7d5ed31-9904-4a95-974e-26e38a8e177f/datetime-localization-based-od-reginal-format-not-on-language-setting?forum=wpdevelop.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hi someone, I went to muse theme and browse widgets to find the toolbox 024 of google language translator, i saw the video explaining how to manage the widgets but now where can i found it to include it in my website because the french version of muse don

    Hi someone, I went to muse theme and browse widgets to find the toolbox 024 of google language translator, i saw the video explaining how to manage the widgets but now, where can i found it to include it in my website because the french version of muse don't have several free widgets for people like me who pay every month the application.Thanks

    I'm not aware of a free translator widget.
    I found these...
    Website Translator 
    Translator Widget  $6.99 for the widget
    Adobe Muse TB024 Widget | MuseThemes.com  $69/year Includes everything | I signed up for this and it's been well worth it, they have new themes & widgets every month.

Maybe you are looking for