In your application class, you can keep reference of the Notification Ids currently showing along with their info. You can detect language change in onConfigurationChanged(Configuration newConfig)
and update your notifications there.
public class App extends Application {
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
//update your notifications there is no need for a Thread
}
}
Another Solution (Real one)
Add Receiver for locale Change
public class MyReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
//retrieve the list of notifications
//update them (no need for thread)
}
}
Add to your manifest:
<receiver android:name="MyReceiver">
<intent-filter>
<action android:name="android.intent.action.LOCALE_CHANGED">
</action>
</intent-filter>
</receiver>