title: Selenium webdriver - Not able to set browser locale
body: <p>I am trying to set the browser locale to Japanese. I am using the following piece of code : </p>
  
  <pre><code>FirefoxProfile profile = new FirefoxProfile();
  //setting the locale japanese : ‘ja’
  profile.setPreference(“intl.accept_languages”,”ja”);
  driver = new FirefoxDriver(profile);
  </code></pre>
  
  <p>"intl" is not recognized on the eclipse editor. It says "intl" cannot be resolved to a local variable. Eclipse does not suggest any imports either. It asks me to create a local variable "intl".</p>
  
  <p>I dont know any other way to go about this. Any suggestions ?</p>