xamarin 形式的本地化

Localization in xamarin forms

我在我的 PCL 项目中完成了本地化,在我的 PCL 中有一个资源文件夹包含两个资源,一个是默认英语,另一个是阿拉伯语,文化是 ar-AS。我可以 运行 它在我的模拟器上但不是在设备上应该是什么原因。我现在在 android 项目

Doesn't work in DEBUG mode (Android only)

If the translated strings are working in your RELEASE Android builds but not while debugging, right-click on the Android Project and select Options > Build > Android Build and ensure that the Fast assembly deployment is NOT ticked. This option causes problems with loading resources and should not be used if you are testing localized apps.

这是我的语言文化名称的问题,我添加了语言文化名称"ar-sa"这不需要我只是删除了 SA 它工作得很好