From SDK 33 (Tiramisu), instead of using updateConfiguration the recommended way to change language is:
AppCompatDelegate.setApplicationLocales(locale);
It is worth to note that: This API should always be called after Activity.onCreate(), apart from any exceptions explicitly mentioned in this documentation.
Reference: setApplicationLocales