1. completely restart app on language change - in this case I need a notification and force restart
2. reload the activity - in this case it will require to replace string values and rebuild custom navigation state.
In both cases we need a way to find out when language switches.
In order to find out that we can use Broadcast receiver for this intent. We can use 'android.intent.action.LOCALE_CHANGED ' intent action for the same....
Create a receiver from Android Manifest.xml From the Receiver we will get the change in locale intent.
public class LocaleChangeReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Log.i("Locale", "Changed"); } }