Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LocalizationService
- {
- private readonly ResourceLoader _loader = null;
- public LocalizationService(string culture)
- {
- culture = culture.Replace("-", "");
- _loader = ResourceLoader.GetForCurrentView($"Resources_{culture}");
- }
- }
- var localizer = new LocalizationService( "fr-FR" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement