Closed suatsuphi closed 3 years ago
there is a problem on SqlStringLocalizer.cs and line 40 so I changed it
public LocalizedString this[string name, params object[] arguments]
{
get
{
var str = this[name];
if (arguments.Length > 0)
str = this[string.Format(str, arguments.Select(x => x.ToString()).ToArray())];
return str;
}
}
if string contain string format I mean this {} so it will work for string format. I think my logic will work
Hi, Display Name doesn't work on errormessage {0} exmaple
It is working on services.AddLocalization(options => { options.ResourcesPath = "Resources"; }); but it doesn't work on AddSqlLocalization could you check it ?