@@ -0,0 +1,1074 @@
+package com.oasisfeng.i18n;%0A%0Aimport java.util.Locale;%0A%0Aimport android.annotation.TargetApi;%0Aimport android.content.Context;%0Aimport android.content.res.Configuration;%0Aimport android.content.res.Resources;%0Aimport android.os.Build;%0A%0A/** @author Oasis */%0Apublic class Locales %7B%0A%0A    /**%0A     * Switch the locale of current app to explicitly specified or default one%0A     *%0A     * @param locale null for default%0A     */%0A    public static void switchTo(final Context context, final Locale locale) %7B%0A        final Resources resources = context.getResources();%0A        final Configuration configuration = resources.getConfiguration();%0A        setConfigurationLocale(configuration, locale);%0A        resources.updateConfiguration(configuration, null);%0A    %7D%0A%0A    @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)%0A    private static void setConfigurationLocale(final Configuration configuration, final Locale locale) %7B%0A        if (Build.VERSION.SDK_INT %3C Build.VERSION_CODES.JELLY_BEAN_MR1)%0A            configuration.locale = locale;%0A        else configuration.setLocale(locale);%0A    %7D%0A%7D%0A

Add class Locales for explicit locale switching.