Read More
Read now

Automatically resets app Locale in Android Nougat 7.1 after launching the WebView

Save

In this small blog, we will see the basic solution to solve the Android 7.1 issue, somehow android nougat 7.1 devices automatically resets application locale after launching the WebView.

In the below solution, we will change the locale to ES(Spanish language).

How to fix

Step 1: Add this link before or after loading the webview,  

like this,

Step 2: Create a method for language change in application Class,

Step 3: Call it to the onCreate(),

complete application class,

If you have any doubt on this blog, please ask in comments. And stay updated and stay super.

Reference link.

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

Deniel Kerr

Owner and Founder. Opencart

Talk to Sales
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home