LoginSignup
1
0

More than 1 year has passed since last update.

【Android】端末の言語を取得する方法 (忘却録)

Posted at

端末の言語を取得する必要があり、どうだっけ?
と調べたので、忘却録です。

今回はja_JPの形で取得する必要がありました。

 Util.kt
 Locale.getDefault()

こちらで日本語端末であればja_JPを返却してくれました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0