Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to implement localization in the latest 2017 VS without using PCL?

$
0
0

Hello

In previous projects I used the resx/PCL approach to implement localization in my Xamarin.forms solutions. As of the update to VS, this has been deemed deprecated and the information I find instruct me to "use the .NET standard".

When trying to implement a resx language file, the strongly typed connection is no longer available and the ResXFileCodeGenerator tool for converting resx to designer.cs "does not exist in a non .NET environment".

VS still allows me to add a PCL project to my Xamarin.forms, but since it has officially been depricated, I do not want to use that.

The article at Xamarin describing how to do it (https://developer.xamarin.com/guides/xamarin-forms/advanced/localization/), has yet to be updated to use .NET standard, where the resx file is automatically converted into a designer.cs file, that used to enable the strongly typed use of strings.

Are there anyone out there that could help me create a way to use localization in the latest VS 2017 (for Mac) without using a PCL nor individual implementation of localization in separate platforms (Andorid/iOS)?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>