Change Locale

Hi all,
is it possible to change the locale of an WebDynPro applicatin after it was loaded?
What I want is something like a dropdown-box with available locales, the user can then select one and the webdynpro gets reloaded. After that reload the whole application should be in the new language.
I translated the needed .xlf-files and everything works more or less fine via the browser-based language setting (Accept-Language header) at least after i close all browser windows. Same goes for the "sap-locale" URL-parameter, I need to close all browser windows.
There seems to be no possibility to change the language "on-the-fly" after a webdynpro application is loaded, am I right? I only found one single setLanguage()-function in IWDJCOClientConnection but I dont know how this could help me...
Thanks and regards,
Peter

Hello Valery,
thanks for your answer.
The problem I have is that if I start the application with i.e. http://myserver.com:50100/webdynpro/dispatcher/local/MyApplication/MyApplication?sap-locale=en (works as intended, the app is in english) and after that change the sap-locale parameter to "de" without closing all browser windows the application won't change the language and remains english.. I think there is kind of a chaching mechanism that prevents this from working.
So you say you managed to makes things work almost as I intended. Could you please provide me with some sample code?
Thanks and regards,
Peter Osthoff

Similar Messages

  • How to change local draft folder loaction in sharepoint server

    Hi,
    please help me that how to change local draft folder location for documnet libery in sharepoint server.
    because by default when we check out document that documnet store in c:/documnet setting folder in our local drive.
    i want to store in another location is this possible if yes then how to.
    Please help me.
    Thanks in advance.
    Regards
    Sanjeev Tiwari

    While the steps below are fine for Word (and I gather that Excel, Powerpoint have similar steps), what
    about Project 2007?  We have Project 2007 SP3, and (a) it doesn't have an Office Button like the core Office 2007 products, and (b) the SharePoint Local Drafts folder isn't listed in the Save options.  Please advise!
    -Joe
    Hi,
    You can change the location of your local drafts folder where your files are placed while they are
    checked out to you in Office system program: click “Microsoft Office Button”>select “Word Options”>select “Save”>in
    Offline editing options for document management server files> in Server drafts location
    box, type the location on your hard disk where you want to work with checked-out files, or click
    Browse and find the location.
    This article has detailed steps:
    http://office.microsoft.com/en-us/powerpoint/HA102085831033.aspx
    Xue-Mei Chang

  • What's the best way to create and change local workstation account details?

    Hi,
    I need to change local password of an account on a number of our domain based machines. Or create the user if it doesn't exist.
    We have over 200 machines so this will need to be done as a bulk job.
    I've looked into doing this by GPO Preferences, but it appears that MS have removed this functionality with a hotfix.
    What's the best way of doing this now, as I would have through that this is a feature that most organisations would require.
    Thanks

    Hi,
    I understand you. However, based on my understanding, from the standpoint of security, Microsoft has chosen to deprecate this function, for it’s not secure to set passwords
    in Group Policy Preferences.
    The following article sheds more light on this topic and can be referred to for more information.
    Why Passwords in Group Policy Preference are VERY BAD
    http://www.grouppolicy.biz/2013/11/why-passwords-in-group-policy-preference-are-very-bad/
    Best regards,
    Frank Shen

  • Change Local Currency For Company

    Dear Expert
    I Want to change local currency for company that already have a data.
    So From 1996 - 2010 that company used local currency SGD. Now 2011 will be change to USD.
    all previous data no need to change.
    Can I just change local currency in T-code UCWB?
    Thanks

    Yes all previous data will remain the same and only the opening balances and onward have the new local currency.
    Make the master data change as well as including the translation method in the balance carry forward task in the configuration (UCWB) before it is executed. This will cause the balance carry forward to translate the old LC to the new LC for the opening balances.

  • How can we change local administrator password in 500 machines in a domain from a centralized location?

    How can we change local administrator password in 500 machines in a domain from a centralized location?

    This was moved out of the Profile forum.
    You should ask this question at
    www.answers.microsoft.com.
    Or I can move it into another forum if you'd like.
    Thanks!
    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog,
    Twitter,
    Wiki)

  • Can CR 2008(build off Multilingual Universe) change locale as WebI does?

    Description of Problem:    
        An OEM Customer wants to know if Crystal Report 2008, which is built off Multilingual Universe, could change locale on User-Locale switch(for example, switch Infoview/IE locale).
        In BOE XI R3, Universe can maintain multilingual info, so that the front-end WebI can change locale automatically. This feature works fine for WebIs, however it doesn't seemt to work for CR 2008 when the report is built off a multilingual Universe.
        Is there any idea how to utilize the Universe feature in CR2008?
    Product\Version:  Crystal Report 2008, BOE XI R3
    Relevant Environment Information (OS & version, Driver & version, DB & version): 
        Java/Tomcat, Windows2003, Oracle
    Best Regards,
    Vincent Li
    OEM Sales Consultant, Eastern China
    Edited by: Vincent Ligang on Sep 4, 2008 4:20 PM

    Hi,
    Is there anyone to have idea about this issue?
    Best Regards,
    Vincent Li

  • 2012R2 VDI how to change "local virtual desktop creation location" for collection

    Hi,
    I want to change "local virtual desktop creation location" for existing collection but this setting is grayed. This location is not exists anymore and I cannot add new VM's to collection.
    If there is no way to do this if it possible to create new collection and move old VM's there?
    Thanks!

    Hi Sergey,
    I assume that you mean virtual desktop storage location, which I don’t think that we can change this setting for an existing collection.
    You can create a new collection, during the creation process, you will be able to select a different storage location for new VMs.
    More information for you:
    Single Image Management for Virtual Desktop Collections in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/10/29/single-image-management-for-virtual-desktop-collections-in-windows-server-2012.aspx
    Geek of All Trades: VM-Hosted RemoteApps - New Best Practice for Virtual Desktops?
    https://technet.microsoft.com/en-us/magazine/jj554307.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • ADE - Loan expire problem (change local machine datetime)

    first , i set DeviceType of content to standalnone /on and off-line/. Then loan process is successfully, but i can read ever. because i change my local machine datetime when the content is expired. i hope Digital editions is can detect when user change local mechine datetime. but i can't how i do configure this.
    second, i set DeviceType of content to public /always online /. Digital Editions throw information "Document is not licensed for this machine" when i loan the content.
    What i do now?
    Thanks for your help.
    B.R
    DD

    first , i set DeviceType of content to standalnone /on and off-line/. Then loan process is successfully, but i can read ever. because i change my local machine datetime when the content is expired. i hope Digital editions is can detect when user change local mechine datetime. but i can't how i do configure this.
    second, i set DeviceType of content to public /always online /. Digital Editions throw information "Document is not licensed for this machine" when i loan the content.
    What i do now?
    Thanks for your help.
    B.R
    DD

  • XID-- Change Local User SAPServiceXID to Domain\SAPServicesXID

    Hi All.
    We have to change local SAPServiceXID User to Domain\SAPServiceXID User
    boths users are administrators into the Administrator Group.
    If we start the three central instances(Database,Abap,JAVA) with local User there is no problem.
    when we replace the local user to Domain\user and tries access to http://Host:50000/rep -->The page cannot be displayed, but in SAP Manage Console, the service green and from TCODE SMICM Java stack is green too.
    any idea??
    Thanks & Regards
    RP.
    Message was edited by:
    Rodrigo Pertierra

    i've found this error
    com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal()####XID#SAPSYS                          #434CC9A85B334CA891E2E7F351D27B1A#Thread[JCO.ServerThread-2,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###com.sap.mw.jco.JCO$AbapException: (126) SLD_CLIENT_EXCEPTION: AbapSLDRequestHandler.ping(): server connection *** failed *** on Tue Jan 16 11:37:42 GMT-03:00 2007
         at com.sap.lcrabapapi.util.AbapSLDRequestHandler.raiseAbapException(AbapSLDRequestHandler.java:4203)
         at com.sap.lcrabapapi.util.AbapSLDRequestHandler.raiseAbapException(AbapSLDRequestHandler.java:4212)
         at com.sap.lcrabapapi.util.AbapSLDRequestHandler.execPing(AbapSLDRequestHandler.java:2960)
         at com.sap.lcrabapapi.util.AbapSLDRequestHandler.execute(AbapSLDRequestHandler.java:953)
         at com.sap.lcrabapapi.util.AbapSLDRequestHandler.processRequest(AbapSLDRequestHandler.java:264)
         at com.sap.lcrabapapi.ejb.AbapSLDRequestBean.processFunction(AbapSLDRequestBean.java:48)
         at com.sap.lcrabapapi.ejb.AbapSLDRequestObjectImpl0.processFunction(AbapSLDRequestObjectImpl0.java:259)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
         at $Proxy193.processFunction(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
         at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
         at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    any idea what its means?

  • How can I change locale dinamically by script?

    Hi everybody!
    I need a piece of code like this:
    var land = *some_kind_of_input*;
    switch (land) {
      case "GB":
        xfa.localeSet.name = "en_GB";
        break;
      case "US":
        xfa.localeSet.name = "en_US";
        break;
      default:
        xfa.localeSet.name = "it_IT";
        break;
    but this isn't working :-(
    i think that xfa.localeSet.name = "en_US" isn't the right way to change locale... any other idea?
    the fact is that some numeric fields display grouping and decimal separated in the wrong way.
    thanks in advance

    Try some thing like this..
    TextField1.locale = "en_US";
    Thanks
    Srini

  • Change Locale / UI Text Options of Photoshop CS4

    Sorry to bug you all but I've searched the answer to this for two days and can't find anything.
    I recently installed CS4 Design Premium on a PC running Windows 7. When I resize an image (Image>Image Size), the dialog window always displays the Document Size in centimeters. Unfortunately I'm in the U.S. and haven't yet converted to the metric system and it's a royal pain to change the drop-down to inches each time.
    In my "Locales" folder the only subdirectory that exists is, "en_GB". In Edit>Preferences>Interface:UI Text Options:UI Language there is only one option available which is "English: UK". I'm pretty sure that during the initial install of the suite I selected "United States" as my Locale. And is there any reason to have a drop-down with only one choice and no means of adding others (no need to answer this one, I'm just thinking out loud)?
    Is there any way to add the United States as a Locale without having to re-install the Suite?
    Many Thanks

    Is there any way to add the United States as a Locale without having to re-install the Suite?
    The locale for the main program is defined by the serial, not necessarily by your language selection. Shared components derive their locale from this as well and/or in part from the system setting. That issue with installs wrongly using en_GB is quite common, though. It usually occurs when other Adobe software with shared components already was on the system and coerced the installer into using the wrong language. However, short of reinstalling everything Adobe after having sweeped clean with uninstalls and the CS4 Clean Script, there is no way to resolve this.
    Mylenium

  • Changing locale generates ORA-12705: invalid or unknown NLS parameter error

    By mistake I changed the default locale with following code:
    Locale.setDefault(new Locale(localeCode))
    and I get:
    JBO-30003: The application pool (com.photoswing.model.site.WebPhotographerGlobalAMLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:343)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
    Thanks
    Fred

    Can somebody explain the relation between default locale and NLS application pool connection parameter?
    Thanks
    Fred

  • Change local connection string on remote server

    Hello,
     I have searched every post and tried every connection string there but can't figure out how to connect to my database on my  remote server. I am using Visual Developer 2005 Express Edition in C# and uploading it to a Windows server running asp.net 2.0. The domain has not resolved yet.
    I am so new to this and have followed many tutorials step by step but none of them address this issue. They just show how to upload it to the server.
    Do I need to use the SQL server provided by my host or can the database stay in the App_Data folder?
    My local connection string works locally:
      <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
       providerName="System.Data.SqlClient" />
    When I uploaded to my server I changed \SQLEXPRESS  to (local) as advised in the forum.
    <add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    When I debug a page I get the <customErrors mode="Off"/>
    error message even thought I have already set it in my remote web.config file which may be causing problems itself:
    <configuration>
    <appSettings/>
    <connectionStrings>
    <add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    </connectionStrings>
    <system.web>
    <customErrors mode="Off" />
    <compilation debug="false" />
    <authentication mode="Windows" />
    </system.web>
    </configuration>
    Thanks for any help you can offer. I wish I could find someone to hire to do this part for me or teach me how over the phone. Any suggestions?

    Is this still an issue?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Change Local currency of a Co.code. say from USD to GBP

    Hi friends.
    Is it possible to create a co.code with Local currency as USD and change it later on to GBP after the transactions have been posted.
    Thank you all for the needful.
    With Best Regards,
    M. Naveen Kumar.

    >
    Julius Bussche wrote:
    > GBP to EUR might still be possible though...
    Mr. Gordon Brown, pls. do the needful!

  • How to change local adjustment brush size when unselecting ?

    Perhaps a stupid beginners question but i cannot seem to find this one..
    Using the local adjustment brush i can change the size of the brush using the [ and ] brackets
    However.. when i make a small error and want to erase brushed-area by using the ALT key then the brush size seems to be fixed to one size ???
    Erwin
    http://www.erwinbeckers.nl

    Erwin,
    As they say, there are lots of ways to skin a cat.
    Erase mode uses a different setting for the brush size. You can adjust it, but not with the brackets while the Alt key is held down.With the Alt held down, you can still move the size slider in the brush panel with the mouse.
    I can't speak for Macs, but on Windows, my scroll wheel works to change the size of the brush, whether the alt key is pressed or not.
    If that won't work for you, you can click on the "Erase" text button in the brush panel and then use the bracket keys to change sizes. You'll be in erase mode even without holding down the Alt key. In fact, in that mode, holding the Alt key puts you back in "paint" mode.
    Hal

  • Change local object

    Hi I have a process chain in already in Production. I made few changes in Dev for testing and saved as local object. Now, I need to transport those changes to prod. So, I need to change in BW package not in local object. I I don't know how to change it..I am deleting the changes and redoing it to see if the pop-up would come so that I can save not in local object...but it's not poping up anything..could anyone please help me.
    thanks.

    So if you follow the steps that I wrote, you will not actually be doing the transport...it will just collect all objects required to do a successful transport (variants, processes and InfoPackages etc). At the top will be the process chain name. You can select it and right click and choose Change Package. When you chnage the package and save, it will pop up for the request. Assign the same request to all other objects that may be $tmp. Then you can hand over this request number to your Basis team.
    Hope this helps...

Maybe you are looking for

  • ITunes won't open at ALL. HELP!!!

    Hello. I never realized how attached I was to my iTunes until it stopped working. Whenever I try to open it I get a Error 1324 message or am told to reinstall iTunes. When I try to reintall it I get the 1324 message and am told that I cannot continue

  • Multiple users, 1 iTunes account, multiple devices, iCloud, help!

    My wife and I share 1 itunes account.  She uses a PC, I use a macbook.  We each have an iPhone4, iPads and iPods.  I am in the process of setting up the iCloud and am having some issues.  First, my Apple ID is not in the form of an email address, so

  • Exceptions in Substep:Rules Error

    Hi Friends, I am new to this portal and I seek you guys help to resolve the below error its very urgent. I have encountered an error while updating the data from PSA to Infocube i.e. Purchasing Data Cube 0PUR_C01 from the Data Source 2LIS_02_ITM in R

  • Captured footage in FCE HD

    hi everyone How do i find the files i captured through FCE HD? is there a way to save each project's captured footage to a different place? In imovie it will save it all in one file (and you open it by right click-show packaged contents). does FCE HD

  • Help with elements 9-mabook pro/10.5.8- have been getting error messages and won't open-reinstalled

    Help! I have tried to use my elements 9 which was already installed on my macbook pro 10.5.8 and it has begun giving me error messages that state there are some missing components on the app and I should reinstall.  I have reinstalled and am getting