local could be Locale.US, Locale.CHINA and so on
public static void setLanguage(Context context, Locale locale) {
Configuration config = context.getResources().getConfiguration();
config.setLocale(locale);
context.getResources().updateConfiguration(config, context.getResources().getDisplayMetrics());
}