SyntaxFix
Write A Post
Hire A Developer
Questions
As described in Locale reference the best way to get language is:
Locale.getDefault().getLanguage()
this method returns string with language id according to ISO 639-1 standart