User language according to browser settings

Hi all,I saw that is possible to display the guest page according to the browser language. This is done by leaving blank the <International><Locale> attribute in j_config.xml. If I want to use this mechanism for all the portal users, do you know what kind of customization I have to do?
Thank you,Alberto Marchiaro

You can instruct the portal to use the browser language for all users by changing the Default Profile (Default Profiles utility | Edit Profile | MyAccount | Edit Locale Settings) to "Use Browser Locale".
Once you save this profile, any newly created user will see the Portal UI in the locale/language of the browser the first time the user logs into the Portal (assuming the browser language is supported by the Portal).If the same user logs off and logs back into the Portal after changing the browser locale, the Portal will continue to use the locale set on initial login. In other words, the initial login behaves as a sort of "stamp" -- after the initial log-in users can change their locale via MyAccount | Edit Locale Settings.
Setting locales should be performed via the Default Profile for regular users or the Guest Profile for guest users. Modifying the <International><Locale> attribute in j_config.xml is rarely necessary and not recommended.If you experience any problems with this, please let us know and make sure you provide configuration details (Portal version, etc.) as well as any relevant customaization you have done or plan to do.

Similar Messages

  • Change display language according to the user programmatically

    How to change the site displaying language according to the user ? Let say I've drop-down to select language in a web page according to that whole site display language change and also user's language in user profile need to change. How to do that in using
    server object model programmatically.

    Hi,
    According to your post, my understanding is that you wanted to display language according to the user.
    First, we can find out the current culture of the logged in user based on
    LCID.
    System.Threading.Thread.CurrentThread.CurrentUICulture.LCID
    Then you can set the language based on the LCID.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/0e5d36e1-ec06-404a-ab2c-0e0ff475abec/how-to-change-the-language-based-on-log-in-user-programmatically-in-sharepoint-2013-how-to-change?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/104140/change-site-display-language-according-to-the-user
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Change description of user fied according to current language

    Hi,
    I have added a user field to a system table. When a system matrix shows the system table, my user field is visible but when I change the current language the title of my column is always the same, the description of my user field.
    Is it possible to define a description by user languages for a user field added ?
    Bests regards
    Bertrand

    Hi!
    Can you share your solution? I've got the same problem.

  • Language setting of browser and Application Primary Language

    Hi,
    my browser is currently set to German, that's why the APEX builder is also displayed in German. Brrr, I like development environments when they are not displayed in English - sometimes you don't understand this translations :-)
    But my problem now is that I have created an application and set the Application Primary Language to English (en).
    I would now assume that all the text APEX is creating during wizard actions will be created in the Application Primary Language and not in the language the browser is currently set to. But all the text is created in the browser language!!!
    I think that's not a good behavior, because if you have a multi user/multi country development, the developers have to change there browser settings so that we get a consistent application. But to archive that I have set the primary language for the application.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

    Patrick,
    The resulting "defaults" strings which are displayed/used in the wizards should be Estonian, because that's my primary language of the application. Does it really make sense to show them in English/German, ...? Because the result language of the application should be Estonian.A) And how exactly will the Builder obtain the Estonian translation of these strings or of the translation of these strings into any of the hundreds of other languages we know nothing about?
    I think the answer is that the Builder should maintain an awareness of the language setting of the application being developed. During the generation of possibly translatable text, the wizards should use a translated message for that text/language if: a) the language is one of the ten languages in which we make the Builder application available, and b) the developer has installed that "language version" of the Builder application (even if they are running a different language version at the time of text generation). If either condition does not hold, then the text should be generated in the Builder's primary language (en-us).
    The builder is no genius (or not yet ;-) ), so that's up to the developers when they are changing the primary language during development.B) I don't understand your point (what is up to the developers?). The point I was trying to make was that even if we concede that generated text from the Builder should ideally be in the language that is the current primary language setting of the application being developed, the Builder would not be able to make that accommodation during the execution of the portion of the Create Application wizard that creates pages (with generated text in some language) because this occurs beore the language selection is made. Of course, the answer is that the Create Application wizard should be changed to allow the language to be selected before any text can be generated. Wizards would then be able to generate text in the appropriate language according to the rules proposed in (A).
    Why does the builder/wizard not use substitution strings (eg. #APPLY_CHANGES#, #NO_DATA_FOUND#) for this type of default text instead?This would result in "code" in areas of the metadata from which translation strings would be extracted into the XLIFF file. Translators would ignore this code so the ultimate translated application (and the primary) would need a repository in which to hold the desired text for each language to be supported and a method with which to dynamically lookup the translated text at runtime. I don't believe the current architecture supports this (apart from the fact that we don't currently do it this way) and I think the performance implications could be significant, but I could be mistaken on both points.
    Wouldn't it help to translate the application too?I don't understand this suggestion.
    Thanks for your input.
    Scott

  • Regd. User language

    Hi all,
    i am trying to work on internationalization concept.
    My requirement is at the time of user creation if no language is set then browser language need to work.
    With the help of Iuser i can access user property, but i didn't got any function for language, for Locale is there i.r user.getLocale() may be.
    Is this locale will give  the Language set at the time of user creation.
    How to deal with the Server Locale/Language, User Language and Browser language setting.
    In what order in the code level i need to manage these three and how.
    Regards,
    Deepak

    For Internationalization of Dynpro Applications, you need to maintain .xlf files as in the [tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6cfad90-0201-0010-a5b8-8f9486346059].
    Browser settings needed to display application in particular language.
    refer thread: [Portal Internationalizationa|Portal Internationalization..urgent]
    nikhil

  • Overwrite user language

    Hi all,
    we are looking for a way to overwrite the user language which is delivered either by LDAP (used for authentication) or by the users' browser settings. We would like to allow login in German/English, other languages should be mapped to English.  
    Has anyone an idea?
    Our release: version=6.0.2.4.6
    Thanks in advance
    Martina

    HI Martina,
    I have the same requirement.  Did you find any solution ?
    Thanks and regards from  Mexico =)
    Diego

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

  • How to add iphone user agent in safari browser running on windows xp

    How to add new user agent (iphone user agent) to safari browser(version 3) which is running on windows xp os .
    thanks in advance

    UPDATE:  We were able to further identify the root cause of the problem to be when anonymous access is turned off and the subweb is set up to use basic and integrated authentication (IIS settings).  To test this, we removed integrated authentication (leaving only basic authentication in place) and the problem was fixed.  However, this is not a viable solution as we need to use integrated authentication (for various other reasons).

  • Content Alignment in webdynpro iView based on user language

    Hi,
    We have a webdynpro application which has a search screen
    (Arabic as well as English), based on the user language setting in Portal UME, the respective language text with options are displayed.
    This webdynpro application runs on same WAS where Portal is running.
    When we test this application standalone like typing the URL of the webdynpro application, it shows english text with Left to right aligned content in browser for <b>user X with Language as EN</b>.
    When we test this application standalone like typing the URL of the webdynpro application, it shows arabic text with Right to Left aligned content in browser for <b>user Y with Language as Arabic</b>.It works fine when it is stand alone (when we directly run the webdynpro).
    <b>We created a WebDynpro iView in Portal, and we tested with user <i>Y (whose language is set to Arabic),</i> issue is text is properly displayed in Arabic, but the content alignment is left to right, which should be Right to Left</b>.
    Please let me know your solution/thought to the above mentioned issue/problem.
    Thanks
    Senthil

    Hi,
    The webdynpro application works fine (alignment and content is fine)when i access it directly.
    When i create a webdynpro iView and run it inside portal it is not working fine (alignment is LTR instead of RTL)
    I went through the SAP help <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6e/8aae409567942ae10000000a155106/frameset.htm">RTL Alignment</a>and tried creating new themes and created a new desktop and assigned it to the user. It is still the same with LTR alignment.
    The issue is, why it is not working inside PRT, when it works fine inside WebDynpro Runtime.
    Thanks
    Senthil

  • Render page as per User language after login

    Hello,
    I am using Jdev 11.1.1.6 with ADFBC and Faces.
    In our application, user can set default language. It is expected that after login, all contents should be displayed as per user language locale (assuming locale is supported and locale specific resource bundle exists).
    So there is SignInPage and HomePage. I need to access the DB (using methodAction binding for a AM method, that reads the user preference and returns the language) before forwarding to HomePage.
    Code to forward to HomePage is something like this:
    FacesContext ctx = FacesContext.getCurrentInstance();
    RequestDispatcher dispatcher =
    request.getRequestDispatcher(forwardUrl);
    dispatcher.forward(request, response);
    ctx.responseComplete();
    End User locale handling is done by defining ViewHandler class in faces-config file. Implementation is explained here
    Problems faced:
    1) I tried to execute the operation binding but got null pointer...in FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
    2) I tried to redirect using external.encodeActionURL(actionURL) but got illegalStateException...Response is already committed
    It works fine if user after login either just press F5 to refresh the page OR reset the language again using the preference screen.
    How do I get it to work at login? Where can I tap-in the methodAction call between SignInPage and HomePage, so that HomePage is rendered according to language?
    Any help/pointer is highly appreciated.
    Thanks,
    Jai

    Hi,
    1) I tried to execute the operation binding but got null pointer...in FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
    If you mean ADF operation binding then this only is available if a request is routed through the binding filter. Note that the PageDef file for a page needs to be parsed before the content becomes available as an object at runtime.
    2) I tried to redirect using external.encodeActionURL(actionURL) but got illegalStateException...Response is already committed
    Why don't you use facesContext --> externalContext --> redirect(...) to perform the redirect, The dispatcher.forward() surely doesn't do this
    3) How do I get it to work at login? Where can I tap-in the methodAction call between SignInPage and HomePage, so that HomePage is rendered according to language?
    Programmatic authentication as explained in the Fusion Developer Guide (chapter 30 if I recall correctly) would give you a chance to set the language. However, the language is not set on the ViewObject but should be set on JSF by changing the default language, e.g.
    FacesContext.getCurrentInstance().getViewRoot().setLocale(Locale.ENGLISH);
    Frank

  • (Browser) Settings to view applets

    Hi folks, right my applet can be viewed in some browser settings, but some user cant just see it but gray screen. One of them said the status bar in browser displays "... Applet not found". but this very applet perfectly works fine in others browsers. So I wanted to know what are the browser settings so I can give some advice to my users? I'll start from the mains requirement, u please continue, if u can:
    1. Download JRE to be able to see applets.
    Thank you.
    Delf

    The only advice you need is to read this: http://java.sun.com/j2se/1.4.1/docs/guide/plugin/developer_guide/contents.html

  • New Hotmail Account -- Need to Verify -- Help Says it's Browser Settings

    I have a new, domain-hosted email account via Hotmail. When attempting to send a message to ~12 recipients, a Microsoft page appears indicating the account must be verified in order to send to multiple recipients. To do so, it asks for a phone number, and that's all (plus clicking an agreement with terms). Upon submitting the phone number an error or warning message is received indicating the action can't be completed at this time, and to try again later. I have tried later, and tried, and tried. The Hotmail help forum suggests that particular browser settings might be at issue. Since I use Safari, thought I'd check here to see if any Safari users on OSX have had similar issues and found a solution for Hotmail accounts. Thanks in advance for replies.

    Yes, I have about decided that, indeed, it has nothing to do with browser settings. It may be a restriction on new Hotmail accounts using your own domain. Thanks again.

  • "java.util.PropertyPermission user.language write" in my javafx application

    Hello Everybody.
    I developed javafx application that has to run in web application under apache tomcat server.
    There is a line of code that changes the Locale ( Locale.setDefault(new Locale("iw", "IL")); ).
    When running this application in stand-alone it works fine, but when i try to run it from browser, it throws excaption "java.security.AccessControlException: access denied (java.util.PropertyPermission user.language write)"
    I know that javafx (when it is running in browser) is no more then applet, and it is necessary to grant the access to user.language property in "something.policy" file. But it is only theory for me, and in practice i don't know how to do this.
    Thank you.
    Igor.

    Adding this to your jnlp file should also work:
         <security>
         <all-permissions/>
         </security>
    Doing so should work for any user that accesses your application from the web. Sign the jar first though (use the NetBeans sign option when generating your webstart application).
    Here is a [great JNLP|http://download.oracle.com/javase/6/docs/technotes/guides/javaws/developersguide/syntax.html] reference that shows the other options.

  • Query in Portal User-Language-Independent

    Hi all
    Query and Portal: NW04S
    We have some users with different language as Query language.
    So the result is, when a query is developed in german and a user has default language english the query components are shown in technical values.
    We don't want to translate the query in english
    We don't want to change the users language to german
    So my idea was to change the query iview with the parameter "sap-language=DE", but this doesn't have an affect either in iview-Properties "Query-String BEx Web Application" nor in "Parameter forwarded to BEx Web Application"
    How can I solve this problem, so the bex-query is always shown in german.
    Any ideas?
    Thank you
    Roger

    Bex? or Web?
    Bex - no chance I thinkl - at leats not one that I know off
    I have the same problem with Chinese language in a hard coded English BI portal in a multi language Consumer Portal (!

  • Table for User language

    Hello friends,
    Where is user language stored in BW. I am looking for table that stores the language entered thru SU01.
    Thanks
    Rahul

    Hi Rahul,
    Check table USR01.
    Hope this helps...

Maybe you are looking for