nerdexam
IBM

P2180-031 · Question #43

Is it possible to detect current device language and locale?

The correct answer is A. Yes, using WL.App.getDeviceLocale and WL.App.getDeviceLanguage APIs. See the full explanation below for the reasoning.

Question

Is it possible to detect current device language and locale?

Options

  • AYes, using WL.App.getDeviceLocale and WL.App.getDeviceLanguage APIs
  • BYes, using WL.App.getDeviceLanguageSettings API
  • CIt is only possible to detect the device language by using WL.App.getDeviceLanguage
  • DNo, it is not possible

How the community answered

(46 responses)
  • A
    78% (36)
  • B
    13% (6)
  • C
    7% (3)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full P2180-031 Practice