I am an android developer.
I am used facebook sdk, but while configuring facebook account in Empathy, the labels are showing in hindi language but not in English. How to change this to English. I just need Facebook login page English
When the user Facebook login, I should see the Facebook login page labels are showing in English language
I also face the same problem and that was caused because I am changing the configuration in one of my activity before AuthActivity and that change causes changing the facebook language into Spanish.
public void setLocaleToEnglishOnly(Context context) {
String languageToLoad = "es"; //changing it into 'en'solved my problem
Locale locale = new Locale(languageToLoad);
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
context.getResources().updateConfiguration(config, context.getResources().getDisplayMetrics());
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.