├── .gitignore ├── LICENSE ├── README.md ├── demo ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── pw │ │ └── gike │ │ └── multilanguagesdemo │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── pw │ │ │ └── gike │ │ │ └── multilanguagesdemo │ │ │ ├── App.kt │ │ │ ├── Constant.kt │ │ │ ├── activity │ │ │ ├── BaseActivity.kt │ │ │ ├── MainActivity.kt │ │ │ ├── SettingActivity.kt │ │ │ └── TestActivity.kt │ │ │ └── fragment │ │ │ └── TestFragment.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── activity_settings.xml │ │ ├── activity_test.xml │ │ └── fragment_test.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-en │ │ └── strings.xml │ │ ├── values-zh-rTW │ │ └── strings.xml │ │ ├── values-zh │ │ └── strings.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── pw │ └── gike │ └── multilanguagesdemo │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── media ├── MultiLanguageDemo-NoRestartToLauncher.gif ├── MultiLanguageDemo-RestartToLauncher.gif └── demo-debug.apk ├── plugin-locale ├── .gitignore ├── README.md ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── mallotec │ │ └── reb │ │ └── localeplugin │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── mallotec │ │ │ └── reb │ │ │ └── localeplugin │ │ │ ├── LocaleConstant.kt │ │ │ ├── LocaleDefaultSPHelper.kt │ │ │ ├── LocalePlugin.kt │ │ │ ├── lifecycle │ │ │ ├── LocaleActivityLifecycleCallbacks.kt │ │ │ └── LocaleComponentLifecycleCallbacks.kt │ │ │ ├── receiver │ │ │ └── RecreateActivityReceiver.kt │ │ │ └── utils │ │ │ ├── ActivityHelper.kt │ │ │ ├── BroadcastReceiverManager.kt │ │ │ └── LocaleHelper.kt │ └── res │ │ ├── values-en │ │ └── strings.xml │ │ ├── values-zh-rTW │ │ └── strings.xml │ │ ├── values-zh │ │ └── strings.xml │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── com │ └── mallotec │ └── reb │ └── localeplugin │ └── ExampleUnitTest.kt └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/README.md -------------------------------------------------------------------------------- /demo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /demo/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/build.gradle -------------------------------------------------------------------------------- /demo/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/proguard-rules.pro -------------------------------------------------------------------------------- /demo/src/androidTest/java/pw/gike/multilanguagesdemo/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/androidTest/java/pw/gike/multilanguagesdemo/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /demo/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/App.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/App.kt -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/Constant.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/Constant.kt -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/activity/BaseActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/activity/BaseActivity.kt -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/activity/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/activity/MainActivity.kt -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/activity/SettingActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/activity/SettingActivity.kt -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/activity/TestActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/activity/TestActivity.kt -------------------------------------------------------------------------------- /demo/src/main/java/pw/gike/multilanguagesdemo/fragment/TestFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/java/pw/gike/multilanguagesdemo/fragment/TestFragment.kt -------------------------------------------------------------------------------- /demo/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /demo/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /demo/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /demo/src/main/res/layout/activity_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/layout/activity_settings.xml -------------------------------------------------------------------------------- /demo/src/main/res/layout/activity_test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/layout/activity_test.xml -------------------------------------------------------------------------------- /demo/src/main/res/layout/fragment_test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/layout/fragment_test.xml -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/src/main/res/values-en/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/values-en/strings.xml -------------------------------------------------------------------------------- /demo/src/main/res/values-zh-rTW/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/values-zh-rTW/strings.xml -------------------------------------------------------------------------------- /demo/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/values-zh/strings.xml -------------------------------------------------------------------------------- /demo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /demo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /demo/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /demo/src/test/java/pw/gike/multilanguagesdemo/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/demo/src/test/java/pw/gike/multilanguagesdemo/ExampleUnitTest.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/gradlew.bat -------------------------------------------------------------------------------- /media/MultiLanguageDemo-NoRestartToLauncher.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/media/MultiLanguageDemo-NoRestartToLauncher.gif -------------------------------------------------------------------------------- /media/MultiLanguageDemo-RestartToLauncher.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/media/MultiLanguageDemo-RestartToLauncher.gif -------------------------------------------------------------------------------- /media/demo-debug.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/media/demo-debug.apk -------------------------------------------------------------------------------- /plugin-locale/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /plugin-locale/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/README.md -------------------------------------------------------------------------------- /plugin-locale/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/build.gradle -------------------------------------------------------------------------------- /plugin-locale/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugin-locale/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/proguard-rules.pro -------------------------------------------------------------------------------- /plugin-locale/src/androidTest/java/com/mallotec/reb/localeplugin/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/androidTest/java/com/mallotec/reb/localeplugin/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/LocaleConstant.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/LocaleConstant.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/LocaleDefaultSPHelper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/LocaleDefaultSPHelper.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/LocalePlugin.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/LocalePlugin.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/lifecycle/LocaleActivityLifecycleCallbacks.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/lifecycle/LocaleActivityLifecycleCallbacks.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/lifecycle/LocaleComponentLifecycleCallbacks.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/lifecycle/LocaleComponentLifecycleCallbacks.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/receiver/RecreateActivityReceiver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/receiver/RecreateActivityReceiver.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/utils/ActivityHelper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/utils/ActivityHelper.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/utils/BroadcastReceiverManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/utils/BroadcastReceiverManager.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/java/com/mallotec/reb/localeplugin/utils/LocaleHelper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/java/com/mallotec/reb/localeplugin/utils/LocaleHelper.kt -------------------------------------------------------------------------------- /plugin-locale/src/main/res/values-en/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/res/values-en/strings.xml -------------------------------------------------------------------------------- /plugin-locale/src/main/res/values-zh-rTW/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/res/values-zh-rTW/strings.xml -------------------------------------------------------------------------------- /plugin-locale/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/res/values-zh/strings.xml -------------------------------------------------------------------------------- /plugin-locale/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /plugin-locale/src/test/java/com/mallotec/reb/localeplugin/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RebornQ/Plugin-Locale-Kotlin/HEAD/plugin-locale/src/test/java/com/mallotec/reb/localeplugin/ExampleUnitTest.kt -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':demo', ':plugin-locale' 2 | --------------------------------------------------------------------------------