Movatterモバイル変換


[0]ホーム

URL:


  1. Mozilla
  2. Add-ons
  3. Browser extensions
  4. JavaScript APIs
  5. i18n
  6. i18n.getSystemUILanguage()

i18n.getSystemUILanguage()

Returns the current UI locale of the operating system. This is different fromi18n.getUILanguage, which returns the UI locale of the web browser.

Syntax

js
let systemUILanguage = await browser.i18n.getSystemUILanguage()

Parameters

None.

Return value

APromise fulfilled with ani18n.LanguageCode.

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp