Skip to content

Why stringLocalizer arguments are not used #60

@JanneHarju

Description

@JanneHarju

It seems that second version of _localizer["Thing {jep}", jep] is not using arguments at all.
https://github.com/damienbod/AspNetCoreLocalization/blob/master/src/Localization.SqlLocalizer/DbStringLocalizer/SqlStringLocalizer.cs#L36
Is there something I need to know about C# or is this just in todo phase. I believe that there should be few more lines in that method like this.

var localicedString = this[name];
return new LocalizedString(name, String.Format(localicedString.Value, arguments), localicedString.ResourceNotFound);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions