You can try this:
Is there a standard approach to localization in shared projects
Visual Studio has a project type "Shared Project", described on the page
Has Microsoft envisioned any standard way to localize code in a shared project?
(I'm sure that I can find a way to localize a shared project, but I don't want to reinvent the wheel, if there is already an "official" method.)
The .NET framework includes a built-in mechanism for localizing applications using Resx resource files. If you create a project by Mobile App (Xamarin.Forms) template, there is a shared project which based on .NET Standard. Then you could refer to this doc to accomplish localization: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/localization/text?pivots=windows
Sign in to comment
Sort by: Most helpful