How do i change resources based on the culture?

Mikkel Rune Rasmussen 1 Reputation point
2020-12-04T07:48:27.58+00:00

Hi.

I am currently developing an application that needs to be two different languages. As such, i have created a Resources.resx as well as a Resources.da-DK.resx.

For changing the culture, I have made a picker, that lets the user change the language they want to use, as well as the culture. However, when the culture is changed to da-DK, I still get output from my regular Resources.resx. How do I change what text gets printed in the UI?

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes