public static void setLocale(final Activity activity) {
        if (activity != null) {
            final Configuration conf = activity.getResources().getConfiguration();
            conf.setLocale(Settings.getApplicationLocale());
            activity.getResources().updateConfiguration(conf, activity.getResources().getDisplayMetrics());
        }
    }
Sets a user-defined Locale for localized strings

@param activity Activity to set the new locale for
main/src/main/java/cgeo/geocaching/utils/ApplicationSettings.java