I followed this tutorial to add localization to my app: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/localization/text?pivots=windows
However, it seems like the example shown here only reads the culture selected in the OS (typically Android settings etc) and uses that. I have a column in my database for each user and their language. Whenever the user starts the app for the first time, I would like to use the device's default language.
But after that, in my settings page I have a Picker component where my user can select from a list of languages which would localize my app only and has nothing to do with the culture of the device.
How can I programmatically change the language/culture of my app when the user selects a new language from the Picker? Its not an issue if the user would need to restart the app. I tried setting CurrentCulture and some other parameters but the app keeps showing the default culture of the device. Target platforms are Android and iOS. I have seen a few examples online but mostly they are using the device default culture.