Force Android App to Start with Specific Language

In order to to force an Android App to start with specific language follow the below steps

  1. Create class that extends the Application class such as the following

    public class ForcedLocalizedApp extends Application
  2. Update the newly created class by overriding both onCreate & onConfigurationChanged to use the code that changes the application local
  3. Create the following method that change the local of the application, It accept the target language as parameter
  4. Update the AndroidManifest.xml to use the newly created class by setting the name attribute inside the application element such as below
  5. Finally Here is the complete code of the class