Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

How to verify which language of the Firefox (not the content language) is in a Mac?

  • 3 antwoorden
  • 1 heeft dit probleem
  • 25 weergaven
  • Laatste antwoord van wendyzhou

more options

I want to write a script to check the Firefox. How can I verify what language of the Firefox that I installed in a Mac? (I am not talking about the view content language like this: Firefox > Preferences > Content > Languages). Thanks!

I want to write a script to check the Firefox. How can I verify what language of the Firefox that I installed in a Mac? (I am not talking about the view content language like this: Firefox > Preferences > Content > Languages). Thanks!

Bewerkt door wendyzhou op

Alle antwoorden (3)

more options

Currently in a Mac there is no way to indicate what language was installed without opening Firefox. Writing a script to do this is beyond the scope of this forum. Please seek help in stackoverflow.com

In order to detect this, this information is listed in these about:config entries: intl.accept_languages

more options

That data is in one of the omni.ja archives and should also be the value of the general.useragent.locale pref.

  • resource://gre/update.locale (/omni.ja!/update.locale)
  • resource:///defaults/preferences/firefox.js (/browser/omni.ja!/defaults/preferences/firefox.js)
  • resource:///defaults/preferences/firefox-l10n.js (/browser/omni.ja!/defaults/preferences/firefox-l10n.js)
more options

When will the file omni.jar or omni.ja get updated beside apply another version of the Firefox? Installing the add-ons dictionary/language pack or switch to another locale should not impact the file omni.jar/ja, right? Because I am thinking to use the data inside of omni.jar/ja to detect the installed language of Firefox.