I'm tyring to set a default language for my game and I would like it to be the phone's language, the question is: how can I get the phone's language?
In my last game I used the default locale of the JVM:
java.util.Locale.getDefault().toString();
to get the device language. That seemed to work fine for Android as well.
来源:https://stackoverflow.com/questions/22888154/how-to-get-the-phone-language-with-libgdx