Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes In Google Localisation Case #15

Open
sarthak199526 opened this issue Aug 21, 2019 · 7 comments
Open

Changes In Google Localisation Case #15

sarthak199526 opened this issue Aug 21, 2019 · 7 comments

Comments

@sarthak199526
Copy link

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.

@Char0394
Copy link
Member

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

@sarthak199526
Copy link
Author

Thanks A lot :)

@Dexus
Copy link

Dexus commented May 20, 2020

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

@Char0394
Copy link
Member

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
Copy link
Member

@Dexus
Copy link

Dexus commented May 25, 2020

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

@Char0394
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants