Is there any way to get Browser Laguage in javascript or jquery

Hi ,
I want current Browser language in sharepoint variation page using jquery or javascript, but the problem is navigator.browserLanguage is always returning en-us, even i selected different language in browser.
Issue coming only in IE. in firefox navigator.language is returning correct browser language.
As i am working SharePoint variation page and also used _spPageContextInfo.currentUICultureName property and it is giving variation page language not browser selected language.
Please help me on this, i already spend lots of time in this.
Thanks,
Dinesh

Hi,
Try using,
navigator.userLanguage
Hope it helps!
Thanks,
Avni Bhatt
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • When closing multiple tabs, is there any way to get back the option of saving those tabs OR NOT for your next session, within the warning dialogue box itself?

    For brief period of time, not in FF4, there was the option whereby when I closed multiple tabs, a firefox dialogue box opened warning me that I'm about to close multiple tabs, '''AND ALSO''' asking me if wanted to save those tabs for my next session, or trash them.
    The primary issue IS NOT about saving tabs. The primary question here is about getting THE OPTION back to the CLOSING MULTIPLE TABS WARNING DIALOGUE.
    The use case here should be obvious. However, since it is clearly not obvious that different people work in a variety of ways, and neither of those methods of working is "wrong" or "right" I will elaborate: Some people, for whatever reason, it doesn't matter why, want to save all their tabs on some occasions, and on other occasions don't.
    This preference varies throughout the day. Therefore it is inefficient to constantly go to preferences and change whether or not I want firefox to open all my tabs from my last session. It is more LOGICAL to place an option in the multiple tab warning dialogue as well, for people whose preference constantly changes.
    This option was available for a time in most of the Firefox 3 versions. Is there any way to get back this option in Firefox 4?

    Firefox 4 saves the previous session automatically, so there is no need for asking if you want to save the current session.
    You can use "Firefox > History > Restore Previous Session" to get the previous session.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    You can set the warn prefs on the <b>about:config</b> page to <b>true</b> via the right-click context menu or toggle the value with a double left-click.
    * browser.showQuitWarning, see http://blog.zpao.com/post/3174360617/about-that-quit-dialog
    * browser.tabs.warnOnClose, see http://kb.mozillazine.org/About%3Aconfig_entries
    * browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    * browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • I deleted contents from pages school report by accident. is there any way to get it back. I reopened the file and it is blank, I deleted the contents from a school report by accident. is there any way to get it back. I reopened the file and it is blank

    I opened a file to print and by accident highlighted and deleted the content. Then in a panic I closed the file and now when I open it is blank. Is there any way to get it back.  I have looked and can not see anyway. I dont have anything in my backup?

    I'm not sure about older versions, but in Pages 3.x (OS X 10.9.x) select File > Revert To > Browse All Versions.  Hopefully there will be an earlier version that you can "revert to".

  • Is there any way to get .wav files to play on iOS devices?

    Is there any way to get .wav files to play on iOS devices? I know some apps can play .wav however I was looking to have safari load a suitable player as needed, but it shows a audio file with a line across it... and does not play the file. Any workaround? Thanks,
    Fabio

    Hi James,
    That is very helpful, thanks. However, that ends up presenting two other problems...
    Initially, the original .wav file has to be downloaded somewhere, how does one download a file from Safari to the phone and then open the file with the app? Is there any way to configure iOS to always use an app for a particular file type? How does iOS handle file types? Do you know why safari does not allow add-ons? Can I configure another app as the 'default' browser?
    Once again, thanks for pointing this out.
    Best wishes

  • I accidentally trimmed the wrong part of a video from photo booth, is there any way to get it back?

    I accidentally trimmed the wrong part of a video from photo booth, is there any way to get it back?

    I'm not sure about older versions, but in Pages 3.x (OS X 10.9.x) select File > Revert To > Browse All Versions.  Hopefully there will be an earlier version that you can "revert to".

  • Is there any way to get a closer close-up than cropping in imovie?

    Is there any way to get a closer close-up than cropping in imovie?
    I've got a portion of the video as close as I can through cropping, but it's still not as close as I would like it. Is it possible?

    engboy43 wrote:
    … but it's still not as close as I would like it. Is it possible?
    not really ....
    keep in mind: zooming into video degrades quality dramatically - therefor, for your convenience, the cropping features is limited to some factor.
    to override that limitation, two options:
    • create a project with just this clip; crop it; export/share Quicktime; re-import to iMovie, crop again - again: everything beyond 150-200% is, on my behalf, way beyond 'accepatable'.
    • reveal original clip in Finder (cmd-click on it in the Events browser), and open it with free MpegStreamclip - it allows a 'all you can eat' cropping ....

  • Is there any way to get the height/width of an image before importing it in the indesign document.

    Hi All,
    I need to obtain an image's attributes such as dimensions (height, width in pixels) without placing image in indesign document.
    I have full path of the image (say abc.jpg is stored at c:\my pic\abc.jpg).
    I have obtained the IDFile for this image, tried getting size using GetFileSize() which correctly return size in bytes.
    Is there any way to get the height/width of image without importing it in the indesign document.
    Please, give me some hints. I have spent quite a lot time digging in CHM. I have searched in FileUtils, IDFile API's but found no method which serves this purpose.
    At this point I am clueless where to search next.
    Any help will be appriciated.
    Just a point to mention, I am able to get image height and width for an image in indesign doc though Its not my requirement.
    Thnx,
    D.

    You might be able to examine the contents of the PlaceGun after calling kImportAndLoadPlaceGunCmdBoss without actually placing the image in a document. Not sure, but would be worth looking at.
    Otherwise you will probably have to write platform specific code, ideally with a generic platform-independant wrapper (see SDKSamples/paneltreeview/PlatformFileSystemIterator).
    For the Mac, look at CGImageGetWidth() etc., not sure what the best option is for windows.
    Perhaps Quicktime could provide you with a platform independant solution.

  • Is there any way to get the appStore link for my application

    Hi everyone , i am developing an app which has a feature of sharing its appstore link with the friends through mail,so that they can see my appplication in appstore and buy it directly on click of a button. For that i need to use the app store link of my application for sending it . is there any way to get that and using it dynamically in my app immediately after releasing it.

    Your best bet would be to create a web page of your own for the app. Design that page so that it uses 'META REFRESH' to redirect the visitor straight to the App Store link.
    That way you can hard-wire your own web page address into your app.
    This has the advantage that it can work well even before you've noticed that your app has arrived on the App Store. Create a real web page, describing the app and telling people to search for it in the App Store by name - then replace it with the auto-redirect page when you've discovered your application's App Store address.

  • HT1386 i am trying to restore a backup og my iphone 4 from itunes on my macbook, it asks me for a password which i do not recall setting up, is there any way of getting this password.

    i am trying to restore a backup og my iphone 4 from itunes on my macbook, it asks me for a password which i do not recall setting up, is there any way of getting this password.

    No there's not.  Otherwise that wouldn't be very secure, would it?

  • I had 41 tabs open in about six groups over the last year and a half and I just close them and exited Firefox. Is there any way to get them back?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/856718]]</blockquote>
    I had 41 tabs open in about six groups over the last year and a half and I just close them and exited Firefox. Is there any way to get them back?
    Also, is there any way to save a group or an open session and then restore it later?

    History menu, if it was destroyed in the last session
    then use "Restore Previous session:" and then restore all windows also from the history menu.
    If done in this session try the restore all windows under the history menu.

  • Federal court website gives a .pl document which opens as garbage until we manually change it to .pdf, is there any way to get Firefox to do this automatically?

    I am using a Mac. When downloading a document from the federal court website using Firefox, we get a .pl document which opens as garbage (in TextEdit) until we manually change it to .pdf, which causes it to open just fine (in Preview). It used to work fine, giving a .pdf document every time, but apparently upgrades to Firefox have removed this functionality. As far as I can tell my computer, an iMac running Mac system OS X 10.10.1, does not recognize the .pl format. Is there any way to get Firefox to automatically convert a downloaded file from .pl format to .pdf format? My friend tells me that Google Chrome downloads these documents with no problem. I would prefer to stick with Firefox but I might have to change if every downloaded document is in an unreadable format.
    This is a typical example of what I get when I try to open a .pl document (the pdf version is a one page document using plain English):
    =====
    %PDF-1.5
    %‚„œ”
    2 0 obj
    <</Length1 15628/Length 10121/Filter/FlateDecode>>stream
    xúÌ{i`U∂9∑™∫;kWoYÈtuöK“ÑR@“ F!,Å$ñêÑÑd Ç䆆¢≤)
    ¢Ääƒet\FeûN࣌∆y3"ÈÔ‹Í|Ûæ˜˝˙˛LUNü{œ›Œ=€=∑i

    HI jlawrence1,
    Is it possible to associated the pl file mimetype with an application? [[Applications panel - Set how Firefox handles different types of files]]

  • Is there any way to get my photos FROM my iPod Touch back onto a new hard drive?

    My Mac crashed last Friday. First timeIs there any way to get my photos FROM my iPod Touch back into my new hard drive. The iTunes sync only goes one way from the computer to the iPod.
    It syncs the photos taken with the iPod (really an old iPhone 3G without phone service) but not the folders which I synced from the old hard drive to the iPod over the past year.

    thank you for the tip.
    Yes, my computer was backed up. for reasons way too complicated to go into here, these particular folders were not part of the backup.
    Thanks again for the help.
    jglaiche

  • Itunes deleted my 30 gigs of music and I didn't have it saved in itunes or on computer, is there any way of getting music back?

    Itunes deleted 30 gigs of music from my ipod. And I don't or didn't have it saved in Itunes or on my computer....is there any way of getting my music back? Alot of the music was not purchased from Itunes....mostly from cds I dont have anymore! PLEASE HELP!

    If the lost music is no longer on your iPod, on your PC, or in another backup somewhere, you are out of luck.  You can download most iTunes purchases again at no cost via iCloud.  See this article for more information and assistance.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    For non-iTunes purchased content, you'll need to redownload or rerip them from their original source.
    B-rock

  • Is there any way of getting back from a wrong clicked free trial to add my serial number correctly?

    Hi
    On purchasing a new imac I copied the apps across & on opening CS6 was requested to load serial numbers, through tiredness I added the seria; number from CS5.5 and therefore not recognised for the CS6, then when about to enter again through tiredness I must have clicked free trial and now have the CS6 in that format.
    Is there any way of getting back to that initial box to load the correct numbers & get out of trial as although it works I need it set up correctly?
    Any help appreciated

    Sorry, cant see this visible on menu or drop downs, did run through all menus before posting, could just be tired from 3 weeks straight.
    If this is not an option does that mean I am set up ?

  • Is there any way to get 720x576 (ie DV Pal)  from iphoto slideshow?

    I have tried the iphoto forum and have been directed here. Is there any way to get 720x576 (ie DV Pal) for an export from iphoto slideshow? I want to export 200+ photos with random transitions and the ken burns effect. Imovie offers offers automatic ken burns effect via project properties but I can't find a way to add random transitions automaticcally. Is it possible? I want to add the exported file to a movie in Final Cut Studio. Normally I have to resort to using adobe photoshop elements 5 and premiere elements 3 on my bootcamp partition. I would love to do this all in Mac OSX - since leaving Windows, this is the only thing that forces me to use that lousy operating system!
    Thanks in advance for any help.

    I have tried the iphoto forum and have been directed here. Is there any way to get 720x576 (ie DV Pal) for an export from iphoto slideshow?
    Not directly. But you can do it with a bit of external help. Create a slideshow project in iPhoto using the "Random" transitions and auto KBE you want. Then export the slideshow as a 640x480 MPEG4/AAC 30 fps full motion MOV file. Drop the file to MPEG Steamclip and select the "Export to DV" File menu option. The select the DV format, PAL standard, and aspect you want. (I would normally select the "Frame Blending" option in the main menu when going from 30 fps to 25 fps.)

Maybe you are looking for

  • Difference between calling a function module in background task and update

    Hi experts, Can someone explain me the basic difference between calling a FM in  background and update tasks? Also what is the advantage of using backgroud RFCs over the above 2. Thanks in advance, reddy

  • Webdynpro Exception ICF service node

    Hi folks,   I am new to webdynpro and using CRM 5.0 or NW 7.0 for creating application in webdynpro abap. Here when i am trying to run the program , its giving following exception and now allowing me  to run. WebDynpro Exception: ICF service node for

  • Restricting FXS ports to internal calls only

    Hi, I have recently intalled Call Manager 8.5.1 with a H323 Gateway. On the gateway, I have a number of FXS ports for lobby phones. Is there a way I can restrict these phones to allow only internal calls only? Do I need to use COR lists like in Call

  • Confirmation PO with FM caused data dupicate in MD04

    Dear Experts, Here's our problem: 1. We have a PO with quantity 1000 . And in MD04 - MRP Element data we can see this data. 2. Then we  use FM : "ME_CONFIRMATION_UPDATE" to insert confirmation data directly to table "EKES", set comfirmed quantity 100

  • Adobe server error

    Hi,     In my project server we are getting the ADS server error when I try to execute FP_TEST_00 / FP_TEST_01 programs in se38. I saw some forums as if link between ABAP and ADS is fine then the above program should display a pdf document. But for m