Hello,
Welcome to our Microsoft Q&A platform!
You can use System.Globalization.CultureInfo.CurrentCulture;
to get the Mobile Device Setting language, when you changed the language in android device, you need to re-start you application.
public MainPage()
{
InitializeComponent();
var s = System.Globalization.CultureInfo.CurrentCulture;
if (s.ToString().Equals("en-US"))
{
// set English pdf
}
else if (s.ToString().Equals("zh-CN"))
{
// set chinese pdf
}
}
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.