Hi, does anyone know if it's possible to change the language from within the code/application so that the change also reflects in the settings in preferred language section?
PREFERRED LANGUAGE on fly in Swift
If I understand your question, answer is essentially NO.
You have to redirect the customer to the Settings of your app for him/her to change.