MultilingualPlugin icon indicating copy to clipboard operation
MultilingualPlugin copied to clipboard

Changes In Google Localisation Case

Open sarthak199526 opened this issue 6 years ago • 7 comments

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.

sarthak199526 avatar Aug 21 '19 10:08 sarthak199526

Hi @sarthak199526 , yes I'm planning to update it.

Char0394 avatar Aug 21 '19 13:08 Char0394

Thanks A lot :)

sarthak199526 avatar Aug 21 '19 13:08 sarthak199526

@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...

Dexus avatar May 20 '20 17:05 Dexus

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.

Char0394 avatar May 20 '20 19:05 Char0394

Please check this post https://xamgirl.com/handle-multilingual-in-xamarin-forms-without-any-plugin/

Char0394 avatar May 23 '20 22:05 Char0394

@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 avatar May 25 '20 12:05 Dexus

@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/

Char0394 avatar May 25 '20 13:05 Char0394