How to make translation app,tranlate language in android,How to change language in android? how to change language in android programmatically github
Here is the link to download apk file Open APK File.
Here is the simple application which demonstrate how to make translation app.
- Helper class which is necessary for translation.copy and paste in new class call LocaleHelper.class
-
override your language changing activity like this.
protected void attachBaseContext(Context base) { super.attachBaseContext(LocaleHelper.onAttach(base)); } ```
-
When you change in language call this function.
Context context = LocaleHelper.setLocale(this, languageCode); Resources resources = context.getResources(); } ``` 4.That it.Enjoy!!!