0
ajayak created
I have a static class called Generic Helper. How can I use L
in the static class?
3 Answer(s)
-
0
From the documentation on Localization:
If we can not inject ILocalizationManager (maybe it's in a static context that can not be reached by the dependency injection), we can simply use the LocalizationHelper static class.
-
0
Hi @aaron. How can I pass parameters as in L('name', parameters) using
LocalizationHelper
? Can't find any way. -
0
// using Abp.Localization; // using Abp.Localization.Sources; var localizedString = LocalizationHelper.GetSource(sourceName).GetString(name, args);