I have a part of the app which is interactive and can only be used by English speakers. Is there a way to detect the user’s language setting as they land on a page, so that I can dynamically hide some features which I only want to show to English speakers?
Share
You can check a device language using following code:
java.util.Locale.getDefault().getDisplayLanguage();