MultilingualPlugin
MultilingualPlugin copied to clipboard
Changes In Google Localisation Case
Hi I have found Out there are some recent updation on Xamarin.Forms.Sample for ResxLocalisation due to changes in GooglePolicies or something else. Reason : https://developer.android.com/guide/topics/resources/multilingual-support Changes Android : https://github.com/xamarin/xamarin-forms-samples/blob/master/UsingResxLocalization/Android/Localize.cs
Changes iOS : https://github.com/xamarin/xamarin-forms-samples/blob/master/UsingResxLocalization/iOS/Localize.cs
You can see Last month commit too.
So Are you also updating your Nuget for these new changes . I am worried about my live app.
Hi @sarthak199526 , yes I'm planning to update it.
Thanks A lot :)
@Char0394 Hi, i like this plugin but, if this will not be updated, please mark this repo offical as outdated and archived. It won't work anymore with the current Xamarin Forms...
So sorry to hear you guys are having all those problems. The plugin is no longer necessary, so it will be discontinued, you can handle language directly in Xamarin Forms without any platform-specific code. I will be posting a post this week about it.
Please check this post https://xamgirl.com/handle-multilingual-in-xamarin-forms-without-any-plugin/
@Char0394 would this also work for the images for cross application? Would it possible to add also a example to use the String Translation in c# like in https://doumer.me/multilingual-xamarin-forms-app/?
like :
var translatedString = "Hello {0}".Translate().Format(bob)
@Dexus yes, it works for images as well. It is not necessary to use any string Translation. You can access the strings calling directly your .resx file. Ex. AppResource.MyText https://xamgirl.com/handle-multilingual-in-xamarin-forms-without-any-plugin/