Skip to content

CodingWithTashi/Translation

Repository files navigation

Translation App

How to make translation app,tranlate language in android,How to change language in android? how to change language in android programmatically github

Demo

Here is the link to download apk file Open APK File.

Working

Here is the simple application which demonstrate how to make translation app.

Here is the heart code of application

  1. Helper class which is necessary for translation.copy and paste in new class call LocaleHelper.class

Open LocaleHelper Class.

  1. override your language changing activity like this.

      protected void attachBaseContext(Context base) {
      super.attachBaseContext(LocaleHelper.onAttach(base));
      }
      ```
    
  2. When you change in language call this function.

     Context context = LocaleHelper.setLocale(this, languageCode);
     Resources resources = context.getResources();
     
    
     }
     ```
    4.That it.Enjoy!!!
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages