Set user preference Locale

Dear all,
I would like to set user preferences locale through a Java program.
It seems that language locale is not part of the desktopsettings and I've not been able to find out what key to use with getProfileString (if any).
Could you provide me an example of how to set the user preferences locale language? 
Best regards,
Francesco

You can use "SI_LOCALE" as an argument to getProfileString() to retrieve a user's locale.

Similar Messages

  • Set User preferences in oracle portal’s database in portal environment

    Hi All,
    I need to set User preferences in oracle portal’s database in portal environment.
    I need to get some oracle PL/SQL API for the said purpose.
    In user preferences I need to save Preference name and preference value.
    Can any one have idea?
    Regards
    Amit Tiwari

    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/index.html
    and http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwpre_api_name.html
    Patrick.

  • Setting User Preferences With Javascript In Acrobat X

    Hi All,
    Is there a way thru Javascript to programatically set a value in the User Preferences?
    I am trying to create a batch sequence that exports PDFs to HTMLs. In the Acrobat X preferences, there is a conversion option that sets the option of "Run OCR If Needed" to true or false.
    Edit --> Preferences --> Convert From PDF --> HTML --> Run OCR if needed (True|False)
    Depending on conditions, I need to programtically set the value of this preference during the batch sequence before I export the document to HTML. Is this possible? Any help would be greatly appreaciated.
    Thank you,
    Teri

    There are very few user preferences that can be controlled with JavaScript, and this isn't one of them.

  • How to globally set user preferences in Infoview

    We desire the ability to globally set the user preferences in Infoview.  I've seen references to a macro or program but have been unable to locate it.
    Can someone either post a new link or point me in the right direction?
    Thanks,
    Kevin

    Ok guys, found it... (on my XI 3.0 machine... XI 2.0 is similar)
    \Business Objects\Performance Management xx.x\setup directory..
    prefsCopyUtil.jar and using the PrefsCopyUtil.properties file...
    1) Ensure that the following files are in the same folder, for example or example, C:\Program Files\Business Objects\Performance Management 11.5\setup:
    u2022 prefsCopyUtil.jar
    u2022 cecore.jar
    u2022 celib.jar
    u2022 ceplugins.jar
    u2022 cesession.jar
    u2022 corbaidl.jar
    u2022 ebus405.jar
    2) Set up a PrefsCopyUtil.properties file with the settings you want to use. Run "java -jar prefsCopyUtil.jar PROPFILE". Note: Replace PROPFILE with the path of the properties file with the settings you want to use.
    Comand Example
    cd "\Program Files\Business Objects\Performance Management 11.5\setup"
    java -jar prefsCopyUtil.jar PrefsCopyUtil.properties
    Example of properties file:
                       Use                                                         Example
    # Indicates the CMS to use                       CMS=van-r-01-ab
    # Administrator user's password.               AdminPassword=
    # User to copy preferences from.               SourceUser=administrator
    # All users in this group will have               TargetGroup=TestTarget
    their preferences changed to be
    a copy of the Source User's
    preferences.
    Found on page 51 onwards in...[http://help.sap.com/businessobject/product_guides/boexir2/en/pmxir2_deployment_guide.pdf]
    Regards
    Jacques

  • In Hyperion Workspace 11.1.1.3 can you globally set user preference?

    In Hyperion Workspace 11.1.1.3, is there a way to globally set the Hyperion Reporting User Point of View to 'on' for all users?

    Yes, you can. I believe it is in the Hyperion\products\biplus\lib folder for 11.1.1.3, but you may have to search for it. Look for fr_repserver.properties. Change the "     Prompt User POV" property from OFF to ON. You will have to restart the following services.
    1.     Hyperion Financial Reporting – Print Server
    2.     Hyperion Financial Reporting – Report Server
    3.     Hyperion Financial Reporting – Scheduler Server
    4.     Hyperion Financial Reporting – Web Application (might be on different server)
    Kyle Goodfriend
    http://www.in2hyperion.com
    Please make sure to assign the post as answered and the responses as answer or helpful so others may benefit from your experience.

  • Set User preference

    I seem to have some issues with setting the user preferece. I got the valued passed right but it won't set the value to the user. I am using java on 5.04. The code works with 5.02. Any ideas, any one?
    Syntax - Region is a new added property and has been added as User's proporty.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request,response);IPortletResponse portletResponse = portletContext.getResponse();IPortletRequest portletRequest = portletContext.getRequest();
    portletResponse.setSettingValue(SettingType.User, "Region", request.getParameter("RegionInput") );

    Never mind. I figured it out.

  • HowTo: use an existing Locale globally, but including user preferences

    Hello all,
    I search for hours in the forums, and didn't find any solution to this problem:
    An application uses a login mechanism to give different accesses to users, based on each user's rights. The user informations includes the locale that will be used for the messages dispayed.
    I used Locale.setDefault(userLocale), which works right in JTable, for example (dates and numbers are well formatted following the user locale)
    After that, I need to customize for each user (with precedence over the user's locale):
    - the date style
    - the numbers scale
    So, let's say user A is english (with locale 'en_US'):
    - the number 1234.567 is displayed 1,234.567
    - the date 2003-19-08 is displayed aug. 08, 2003
    If this user sets its preferences to: - SHORT date style
    - 1 decimal numbers
    - the number 1234.567 would be displayed 1,234.6
    - the date 2003-19-08 would be displayed 08-19-03
    That's for theory... but is there a simple way to achieve this by only using Locale, without coding NumberFormats or DateFormats ?...
    Any help will be greatly appreciated,
    Thanks in advance
    Franck Lefevre.

    That's what I was afraid of...
    I'm really disappointed because by only using Locale.setDefault(locale), almost all the work is done... but 'underground' there's some kind of HashTable, correct ?... so why can't we have access to this HashTable after it has been instanciated and populated ? I really can't believe it's impossible!

  • How to set default User preferences in Analyzer for all users

    How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty

    I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH

  • UCM 9.1 7975 Sets can't restrict user preferences

    We have CallManger 9.1 installed and just noticed that we can't restrict the settings on the 7975 sets to only User Preferences - all 7 options are showing
    Is there a patch with the 9.1 for the 7975 sets?

    Mac OS X now uses the clang compiler, and it is possible the package has not been ported to work with the pickier clang compiler.
    If your system has gcc, you could maybe try hacking the Makefile to use gcc instead of cc (or maybe export CC=gcc, again assuming you have an older copy of gcc on your system).  You might also try specifying some CFLAGS to disable some compiler checks.  It is possible you will need to modify the sources to fix obnoxious coding violations that both clang and gcc will not ignore.
    Or you might check if one of the Mac OS X package managers have already ported the package:  http://MacPorts.org, http://brew.sh, http://www.finkproject.org

  • Setting Default Preferences for All Users in Crystal Reports Server 2008 v1

    We are currently looking to set the default preferences in the CMC for all of our users.
    I did locate this page Link: [How to set default preferences for all users in Infoview 3.1/CRS 2008]
    The first part of the thread did seem promising but I am unable to find the sample .jsp code that people recommended.
    I would assume that this scenario is common enough that someone knows a way to set universal preference defaults.
    Thank you

    I thought I could just run it too but when I attempt to I get a Windows Script Host error:
    Script: C:\User Prefs.vbs
    Line: 1
    Char: 1
    Error: Expected statement
    Code: 800A0400
    Source: Microsoft VBScript compilation error.
    I noticed the first most line seems to be markup for a web interface though I am not familiar with vbs so I may be wrong.  I used the publishing wizard to put the script on the CMC to attempt to run it through the CMC but it still does not work.

  • Setting up user preferences in web analysis

    From an admin perspective does anybody know how to setup preferences for a user/group in WA? I want to establish the users prefs, not them. Ideally, I would like to setup a group/shared preference and then put users in that group/share and have the user preferences point to the group/share preferences. As an admin i can repoint the user prefs to the group/share prefs. I did this in the web analyzer 7.2 but i don't know how to do this in system 9. I'm guessing i would do this in Shared Services??

    FYI...
    I am getting closer with this one. Shared services is the key. I set the startup page for WA in SS under projects. Users are seeing the WA document but i need for them to repoint their preferences to a shared preference under <Profiles>. My problem is the users don't see the shared pref file under the <Profiles> folder. As an admin I see the file. I suspect it has to do with SS provisioning but based on the provisioning for the users i thought they would see the shared pref file. Does anybody have any knowledge on pushing out shared preferences to users?

  • Esata vs fw800 user preferences set up for scratch drive

    I would like to switch scratch disc capture from a current fw800 setup (and setting) to esata. I purchased a express card34 esata. scratch disc is an external 3.5in 750gb 7200rpm hdd esata
    My question is this: should I make an adjustment in user preferences in regards to "limit real-time" Currently i have it set for fw800 at 42mb.
    Also my deck is connected via fw800 to scratch drive. Will this present a complication when capturing via capture devise fw800> scatch drive esata> fcp?
    I have search the manual and here without any references to this.
    Message was edited by: magnumip

    Found it. Page 1820 of the FCP 7 user manual (.pdf)
    +Limit real-time video to N MB/s: Final Cut Pro uses this number to limit how many video streams can play back from your scratch disk in real time. This is useful when multiple editing systems are sharing the same media (such as a storage area network, or SAN), or when you have a scratch disk with a limited data rate, such as a portable computer hard disk.+
    +For example, suppose you try to play a sequence with six simultaneous video tracks containing DV media, and Final Cut Pro warns you that frames were dropped during playback. If you then try to play a sequence with five simultaneous video tracks and no frames are dropped, you know that your scratch disk can handle no more than five simultaneous DV video streams. Since DV has a data rate of 3.6 MB/sec., you can select the “Limit real-time video to” option and enter 18 MB/sec. (5 x 3.6 MB/sec.) in the number field. Now, if a sequence requires a sustained data rate of more than 18 MB/sec. for+
    +playback, Final Cut Pro shows a red render bar over this portion of the sequence.+
    +Note: Final Cut Pro always allows a single video stream to play, even if the data rate limit you set is below the data rate of a single video stream. For example, if you set the data rate limit to 1 MB/sec., Final Cut Pro would still play back a single DV video stream, even though its data rate is 3.6 MB/sec.+

  • User Preferences setting in R12

    Hi All,
    We have upgraded from 11.5.10 to 12.1.3.
    I have a doubt in user preferences setup in R12. For Ex.,In 11i, we have the Incentive Compensation Super User responsibility, where we used to set the preferences to restrict the number of records, set the language, etc (Navigation: Incentive Compensation Super User --> Profiles), so that the user can set their preferences. But in R12, this responsibility is obsolete and is has been replaced with the Compensation Manager responsibility. When I was looking for the preferences settings (to view certain number of rows in a page, to set the language) in Compensation Manager responsibility, I was not able to find it.
    Any pointers on setting the user preferences in R12. Is there any profile option which controls this in R12?.
    Please give some inputs if you have come across any
    Regards,
    Mohan

    Hi!
    You can try using UUP for storing user related information: http://edocs.bea.com/wlp/docs92/users/uup.html.
    Best regards,
    Andrey

  • Setting Up user Preferences

    Hi Can some one please tell me how to set up particular user preferences for their dashboards.. and also how to remove preferences. if there are any.
    Thanks in advance...

    The easiest way is to add a date prompt to your dashboard off course.
    But if you want to have strict filters, like the last 10 days or the last 30 days, you should start with creating repository variables, which calculates these days.
    Then, if you want to have a dashboard prompt with two options: last 10 days, or last 30 days, you need to do some more hand work. I think you then need to create something like described in this article: http://obiee101.blogspot.com/2009/04/obiee-dynamic-prompt-content.html.
    But for some reason I think you're new to OBIEE and then this might be a bit to complex.
    Regards,
    Stijn

  • How do I set Premiere preferences for all users - University lab machine?

    I am setting up an editing suite for our University which has a "per machine" Creative Cloud licence. It is a PC installation. This machine will be used by a class of students who will log in with their own credentials. I need to set the preferences for Premiere (video output, workspace layout, default drives etc) so that it will be the same for all users logging in since we want a consistent setup for teaching purposes and dont want to have to help each student set up so that it shows correctly on the monitors. Is there a way of saving this setting as the default for every user?
    The most important one is the preferences - Playback in order to set up the second monitor.
    Message was edited by: Bruce Cooke

    Hopefully you did manage to do it.
    Reading this should be enough  Adobe Premiere Pro Help | Preferences

Maybe you are looking for

  • Good receipt for Production in alternate plant

    Hi, I have scenario where i have using production in alternate plant. when i do GR in production plant the stock is getting updated in planning plant. But physical material movement from production plant to planning plant will take 2days. Is there an

  • Soft hyphen in ios7

    Hello, I am migrating my app to ios7. In ios6.1 I used soft hyphens in my xml-File and it worked perfectly in  the UITextView. In ios7 the text still hyphens, but the hyphen mark disappeared. example ios6 We, therefore, the represen- tatives of the U

  • Correct video File Format ?

    I have a mixture of video files - mp4 and m4v. Which is the correct format to play on an iTouch?

  • Import swatches, styles, symbols, character styles with applescript

    I've done plenty of Illustrator scripting with applescript, but can't seem to find a way of automating import of swatches, styles, symbols, and/or character styles from existing file. Any help would be much appreciated. Thanks.

  • How to set value?

    Hi guys. I have a jsp page. Here I display a StoreCard and on the page there is a button called STORNO. On its click I want to call this sql: UPDATE tableName SET storno='Y' WHERE cardId=... How can I do this? (I have getStrono(),setStorno() methods.