Translate the report by updating the session WEBLANGUAGE variable

Hi all

My requirement is to have a report in different languages. The easiest way to do so is to create different versions of a report by language. But I think that this is not the ideal solution, because OBIEE can deal with different languages.

I won't translate the full presentation layer, because it's for one report only. So, do not use the metadata externalize strings feature. I'll use the captions feature translate rather, as described here: http://gerardnico.com/wiki/dat/obiee/localization/obiee_webcat
It works very well.

Now, I want to go a little further. To see the report in another language, the user must change the language of its session (NQ_SESSION. WEBLANGUAGE). Using the standard features, the user must go to the screen of my account, change, its language, then we must refresh the dashboard.

I don't think that it is very user friendly, so I want to simplify this, by adding a language invites to the dashboard. My idea is to update the session variable WEBLANGUAGE with a variable of presentation in a line of dashboard, as described here: http://oraclebizint.wordpress.com/2008/02/25/oracle-bi-ee-101332-updating-session-variables-from-dashboards-using-presentation-variables/

But the result is the session variable is updated, but the captions are not translated. So it doesn't seem to work...

Have you any ideas on why it does not work, or you have another solution?

Thank you!

Kind regards
Stijn

No, your answer is completely stupid.

For me, it works on a dashboard page:

In French:
http://host:9704/Analytics/saw.dll?dashboard&PortalPath=YourPath&page=YourPage&locale=FR

To Engels:
http://host:9704/Analytics/saw.dll?dashboard&PortalPath=YourPath&page=YourPage&locale=en

In Dutch:
http://host:9704/Analytics/saw.dll?dashboard&PortalPath=YourPath&page=YourPage&locale=NL

Then we must work for the Url to go but your edit the local for the complete environment variable.

And it made me think to have a complete translation, you must use the LOCAL variable
and not WEBLANGUAGE.

See you soon
Nico

Just to add that the local value is maybe better with en_GB, fr - fr,...

Published by: gerardnico on July 13, 2010 11:58 - bad locale value

Tags: Business Intelligence

Similar Questions

  • CFLOGIN do not keep the session cfauthrization variable

    I have a simple web site to SEE where all the .cfm is in the same directory. I can't use cookies to the client as the people that I write cookies disabled in Internet Explorer, so I use CFLOGIN and J2EE session variables in a file application.cfm (code attached) for authentication. Everything works correctly when connecting, and I can see the name of user and password encrypted only the session cfauthorization variable...
    Session variables:
    cfauthorization = Y3BkYWRtaW46cmVwb3J0ODQzOmNwZA is
    SessionId = c23059df643c42544069
    urltoken = CFID = 783 & CFTOKEN = 91556252 & jsessionid = c23059df643c42544069

    Once I try to navigate to another page of cfm on the site, I'm getting started back to the login index.cfm page. After some research I find the cfauthorization variable is empty after I click on the link, which if I understand correctly it says that I am not connected and the
    < cfif not IsDefined ("cflogin") >
    < cfinclude template "index.cfm" = >
    < cfabort >
    code in the application.cfm sends me to the login page.

    I confirmed that by using valid credentials causes < cfif cpdauth.recordcount GT '0' > to return true.

    No idea as to why my session authorization is not maintained between pages? Or if I'm completely off base as to why this happens... and if so, what I am doing wrong.

    Thank you
    Greg

    Opening your code looks fine. You already know that you need a way to pass-the-stick between requests, to maintain a session.

    The usual way that ColdFusion maintains sessions is to send the CFID and CFTOKEN cookies to the client browser. This occurs automatically under the hood, assuming that you have not turned off setClientCookies .

    For the management of session through cookies, I would use an as a cfapplication tag


    applicationTimeout = "#createTimespan (1,0,0,0) #
    sessionManagement = "yes".
    ClientComm = 'yes '.
    sessionTimeout = "#createTimeSpan (0,0,20,0) #
    setClientCookies = "true".
    scriptProtect = "all".
    loginstorage = "Session" >

    However, all of this assumes that the client browser accepts cookies. When it is not, the usual way to maintain sessions is to spend the CFID and CFTOKEN values in the URL for each request. The function which suggest Bluetone, URLSessionFormat, makes the process efficient. He tells Coldfusion to add CFID and CFTOKEN in URL when the client does not accept cookies. This means that Coldfusion would still use cookies to the extent possible. A few examples

    My orders


  • We can access the session scope variable just by using its name

    Java EE 6 tutorial contains a "Case Study of the Duke's Bookstore example". I did not understand after statements of this case study:

    * bookdetails. XHTML *.

    {code}
    < h:outputText value = "#{selected.title}" / >
    {code}

    * BookstoreBean.Java*

    {code}
    public String details() {}
    Context()
    . getExternalContext()
    . getSessionMap()
    .put)
    "selected."
    getFeatured());

    return ('bookdetails");
    }
    {code}

    I want to know we can access the defined in bookdetails.xhtml session variable by simply using his name as done previously?

    This is a feature of basic Expression Language (EL), it is not specific to JSF. And it is not specific to the scope of the session, or you can put the beans in any area (page, request, session, application, flash, conversation, regardless of how extensive custom that you create) and reference it using EL only his name. The thing you need to take care of, is that the bean lives in a scope, which can be done using JSF specific or files of configuration, through CDI, annotations or by manually setting the bean in a specific through Java code scope. It is flexible, that is the nature of the Java platform.

  • Manage the Session: "no newspaper found.

    Hi all

    I want to see the session log by going to dashboard > settings > Administration > manage Sessions > Session Monitor. But I see that "NO NEWSPAPER FOUND.
    I read in the 'Oracle BI EE Administration Guide' documentation where it says to change the level of user registration = 'Administrator' (I use that user) between 2 and 5. I did this and restart all services (oc4j Server bi & Server ppt) but NO result.

    I use
    OBIEE 10 g on RHEL 5
    Thank you

    This is perhaps due to the value assigned to the session LOGLEVEL variable (this value will work around all values defined for individual users). Please try to check as follows:

    (1) open the RPD
    (2) go into manage - variables
    (3) according to Session system variables, you will see variable with the name "LOGLEVEL".
    (4) double-click to open the variable properties.
    (5) make sure that the default is set to 3 or more.
    (6) save the RPD and try now.

    -Laurence.

  • Use the session variable in insert record

    Help, please!

    I need to add a record to a table; one of the fields in the table is the user_id. When I try to use the insert record server behavior, there is no way to select the session user_id variable! How this is done?

    > I need to add a record to a table. one of the fields in the table is the
    > user_id. When I try to use the insert record server behavior, there is no
    > way
    > to select the session user_id variable! How this is done?

    Use a hidden form variable and assign the value of the session.

  • How to automatically restore the session after a crash/update / without asking me if I want to restore it?

    Hello, there are times that my Firefox crashes (well, it happens to all of us who use it to some extent) or updates asking to restart. I would like to know if there is an option that allows you to restore the previous session automatically without asking me even. It would be very useful for reasons. I had this kind of problem a couple of times ending me be upset. Sometimes I misclicked and lost all my important tabs. Other times my firefox has crashed/shifted on after reboot and guess what sound restart still has not even asking me if I wanted to restore my session crashed.

    Thank you in advance.

    Cesarius Hi, I think I understand, but I have not explained completely.

    The browser.sessionstore.max_resumed_crashes preference is to avoid an infinite loop. The default value 1 means an attempt to restore the session automatically once and if it fails (for example, it crashes before it can finish to restore), then display the "embarrassing". You could try to increase the value of 2 or 3 and see if it works on the second or third time. If you still see the screen "This is awkward" after a crash, Firefox still does not make a failback.

    You can also check if there is a file user.js in your profile folder. A user.js file is a file of optional parameters that Firefox reads at startup and uses to override the settings saved in your previous session. Unless you create a user.js file yourself, you can usually just remove it. This article includes a section on the hunt for a possible user.js file: How to fix preferences that will not save.

    Note: by default, Windows hides the .js file extension. Precise work with file names, I suggest setting windows to show all file extensions. This article has the steps: https://www.mozilla.org/firefox/all/

  • Translate the title of the registered interactive report

    Hello

    APEX 4.2.5.00.08

    Does anyone know a way to translate the titles registered interactive report for a multilingual application?

    I mean saved reports reports of type "Default Alternative" that are defined by an administrator (so not by end users).

    Not sure if there is a way from an admin account sets these reports in the runtime environment, but they are registered/vissible in the IDE, so maybe there's a way.

    I can't find in the repository of the translation.

    Concerning

    Bottom

    Hi there,

    Unfortunately, there is not a way for you to translate the names of the default Alternative to the interactive reports.  This is a known bug issued / filed against Application Express.

    Joel

  • Loader Ajax while the classic report be updated?

    Hello

    Apex 4.1, Oracle 11g.

    I have a few standard reports which can be updated by using something like:
    $a_report(l_report_id,'1','15','15');
    The problem is that the update time can be long (from 0 to 6 sec), so I want to show a report place ajax loader, while the report is updating.

    I tried:
    $('#my_report_id').hide();
    $('div.my_report_container').append('<div id="ajax_report_loader"><img alt="" src="'+IMAGES_PATH+'ajax-loader.gif" style="height:28px;width:28px;" /> loading report...</div>');
    $a_report(l_report_id,'1','15','15');
    $('#img_ajax_report_loader').remove();
    $('#my_report_id').show();
    $('#my_report_id').hide();
    $('div.my_report_container').append('<div id="ajax_report_loader"><img alt="" src="'+IMAGES_PATH+'ajax-loader.gif" style="height:28px;width:28px;" /> loading report...</div>');
    $a_report(l_report_id,'1','15','15');
    
    $('#my_report_id').load(function() {
         $('#img_ajax_report_loader').remove();
         $('#my_report_id').show();
    });
    Nothing has worked.

    Is there a simple way to do this?

    Thank you.

    Yann.

    Hello Yann,

    Just got a good wool @Jari blog:

    [url http://dbswh.webhop.net/dbswh/f?p=BLOG:READ:0:ARTICLE:347800346935688] Piracy of the Apex 3.2 $a_report function with jQuery

    that will help you solve the problem.

    I hope that helps!
    Kind regards
    Kiran

  • Value of the session Variable does not get updates.

    Hello
    I have a Session variable, I am assigning it an initial value [3] during the loading of the page. But, during the drop value menu selection and the "submit" button hit, I update the value of the Session variable.
    The update is unsuccessful and the session variable is preserved the initial value. Here's the code used to assign the value to the Session variable:

    < ISdefined ("FORM.submit") cfif >
    < cfset Session.numTasksDisplayed EQ #FORM.filter # >
    < cfelse >
    < cfset Session.numTasksDisplayed EQ 3 >
    < / cfif >

    When to use cfoutput after these instruction to check the value of the Session variable, its gives me the initial value of 3. Form.Filter is the value from the drop-down list menu option selected.
    #FORM.filter # #Session.numTasksDisplayed # < cfoutput > < / cfoutput > < cfabort >

    Any help is appreciated.
    Thank you and best regards,
    Vijayvijay77.

    First of all, you cannot use EQ with CFSET comparison operator. It should result in an error. If this is done on the bottom, there will be an error and nothing is set.

    Also, are you sure that FORM. Offer exists during the validation of the form?

    -Fernis

  • Why is the "Number of Rows" to a report seems to be cached in the session?

    When I change the number of lines in a given report, that this change takes effect immediately. After having much poking around and gnashing of teeth - I found that I have to go in managing Session State and the State of deletion for my session before these changes take effect.

    Can someone explain why this setting would be stored in the users session state and why when I login and get a new session_id this setting seems to persist.

    Thank you
    Jason

    You can always put RP in the argument to delete the Session State in the URL - which will reset the pagination. So, if you include that in your URL, it should work.

  • How to set the output of the report to the session variable

    Hello
    Is it possible to output report to the session variable value. If my report returns 1 row and 1 column.

    I have a dashboard command prompt where I select name, but I want to find the ID of the same name.
    This ID I want to move to a Fx column, to achieve this, I created an interim report and I got the code. Now my problem is how do I put this ID in the session variable.

    Please help if anyone knows...

    Have you read this:
    How to set the session / presentation in the repository variable variable

    Dashboard invites on Month Name but the report on the ID of the month filter:
    Re: Guest dashboard on the name of the month but the report on the necessary month ID filter

    If you have dashboard guest (name), then you can have that one report that is filtered by a name but present card to display or not id but use id in the service. Or two reports as in the solution in the second link above and the second report has id in the function and filter by the id of the first report. You need not define this ID in the session for this example variable.

    Please close your previous discussions, if they are treated.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • update the session variable url GO

    Hello

    I'm trying to update the session variable by using url GO. but it is not updated, it is still using the set default value, I followed
    http://oraclebizint.WordPress.com/2008/02/28/Oracle-BI-EE-101332-updating-session-variables-through-go-URL/ but noway
    any suggestion?

    Thank you

    It will work, make sure that you follow every thing in the Blog. some control points

    1. make sure that your boot block checked the property called "required for authentication.
    2. after the update of instanceconfig.xml restart your services and oc4j.
    3. use the same names for the variables mentioned blog.

    If this does not resolve your problem, see more details.

    -Madan

  • Tab for claim to the Session of the monitor is by session or any database?

    There is Contention tab under Tools-> monitor Sessions. It updates whenever another session is selected in the list of the sessions above. If this tab shows claim through the entire database? or is it just show for this session if the session causes or experience any claim?

    The latter.

    If you look at the SQL code in this page, you can see that the WHERE clause limits the results of the current session of the main report - this is indicated with the: rating of SID.

  • Need help: understanding of the Session Variables

    Greetings-

    Maybe I'm just not understand how function of session variables and
    I hope that someone here can help me to do so.

    I am trying to establish an auto-dialing for a client process report
    so when a person displays an online report, a number of declaration is
    generated and stored in a variable session and when information
    is submitted, download number of report and the additional information provided
    a database. Everything seems to work as expected, except for this.

    I use an application.cfm file to define the session management and to create a
    Report number and set this number to a session variable.

    When the person opens the report form page, there is a teaching section
    for their study, followed by a 'Proceed' button to go to the next section of the
    page.

    When they click on the "Continue" button, is when the number of report which is held in a
    session variable (application.cfm) should insert in a hidden for later form field
    upload, which seems to happen.

    Now for the part that I don't understand. I thought that both a session
    had not expired, the session variable would remain in use and so if
    the report page has been updated (reloaded) of the same session would be variable
    be used.

    What I feel, is that whenever the report page is to be regenerated,
    a new report number is loaded in the session variable. I'm not
    understand how to work the session variables? Am I missing some criticism
    piece of coding or point here?

    I have included below the structure of folders and files used in the process
    for review.

    Thanks in advance for any help to do this work.

    Leonard B

    ===============================================
    ===============================================

    Folder structure
    area/reports
    -area/reports/input /.

    Files
    -domain/reports.cfm <-Entry Point for dealing with the
    --domain/reports/application.cfm
    --domain/reports/input/report_form.cfm

    ====================
    application.cfm

    < name cfapplication sessionmanagement = "yes" ' LanceApp"=
    SessionTimeout = "#CreateTimeSpan (0,0,20,0)" # ""
    applicationtimeout = "#CreateTimeSpan (0,0,2,0) #" >

    < cfset DSN = "datasource" >

    < name cfquery = "getnumber" datasource = "#DSN #" >
    SELECT report_number
    OF report_numbers
    < / cfquery >

    < cfset Session.report_number = #getnumber.report_number # >

    < cfif getnumber.recordcount IS 0 >
    < name cfquery = "insertnumber" datasource = "#DSN #" >
    INSERT INTO report_numbers (report_number) VALUES (1)
    < / cfquery >
    < cfelse >
    < / cfif >

    < name cfquery = "updatenumber" datasource = "#DSN #" >
    UPDATE report_numbers
    SET report_number = report_number + 1
    < / cfquery >

    ====================
    report_form.cfm

    < cfparam name = "Button" default = 'Start' >

    < cfif #Button # is 'Start' >

    < action = "report_numbers.cfm cfform" method = "post" enctype = "multipart/form-data" > "
    < input type = "submit" name = "Button" value = "Proceed" / >
    < / cfform >

    < cfelseif #Button # is "Proceed" >

    < div style = "padding: 5px 5px 15px 50px" >
    #Session.report_number # < cfoutput > < / cfoutput > < / div >

    < / cfif >

    Quote:
    Posted by: Leonard B
    Hi Dan,.
    Thanks for the answer, let me clarify what is the goal. This process of numbering
    is a public service organization. The goal is not to create a primary key.
    but to establish a process of sequential numbering to fill online reports that
    can be reset to zero at the beginning of each year.

    I'm certainly open-minded for doing things in a more easy way and if you have a
    easier, I'm all ears or should I say all eyes. However, with the requirement of
    reset the process back to zero, I couldn't get to any other way of
    treatment of the task at hand.

    Thank you

    Leonard B

    "In this case he would stil be easier to run the following code" number "just before you insert your data. What you have said so far, it's the only time where you really need it.

    But if you want to stick with the application.cfm approach, there is a difference in what you say you do and what your code is showing. You say "I checked to see if the session variable has been set and he has been.", but I don't see any if/else logic in the part of your application.cfm code where you set the variable. Remember, the code runs on each page, including request refreshes.

  • I've been upgraded to El Capitan and electricity went off and stopped the session.  I don't have time to continue for 12 hours.  It is the CV.  How can I cancel until I have more time?

    I've been upgraded to El Capitan and electricity went off and stopped the session.  I don't have time to continue for 12 hours.  It is the CV.  How can I cancel until I have more time?

    Hello nancy milano,.

    Thanks for this info and choosing the communities Support from Apple. I know how important is able to complete your update to El Capitan at a later date! The good news is that you can simply delete the "install Mac OS X" install app in the Applications folder on your Mac. Then you can open the Mac App Store when you're ready to update and restart the download from the tab updates or searching through the Mac App Store for El Capitan. This is a resource that explains the process of update more:

    Update of OS X El Capitan

    See you soon!

Maybe you are looking for

  • Opening of the Web Page

    A web site www.wbssc.gov.in does not work on Firefox for android. Please solve this specific problem.

  • view bookmarks

    Firefox 17.0.1Win7 There are some time - somewhere and in some sort - I found a way to display all my favorites / Bookmark folders in a vertical column on the left side of my screen. This list of bookmarks "stuck" and is apparent at any time. It seem

  • Plot data graphic series

    I am doing this labview program where it takes the serial data from a microcontroller and traces the values. Specifically, the serial data contains values from 0 to 1023 (10 bits) where the LS is the low 8 bits and the MS's the upper 2 bits (without

  • Windows Update keeps Ask Me to install MS12 - 016:KB2633880?

    I installed months implemented type MS day, everything went without a hitch except KB2633880 which, after restarting, everything keeps asking to install again and again. Uninstalled and reinstalled same thing, it is in adding / deleting and in the re

  • Windows 7 Upgrade Advisor does not work on my Windows XP Professional

    Windows 7 Upgrade Advisor does not work on my laptop Windows XP Professional Version 2002 SP3 (Panasonic-CF-30). Is there a reason why?