Toolbelt.Blazor.I18nText icon indicating copy to clipboard operation
Toolbelt.Blazor.I18nText copied to clipboard

How to use I18nText in a file that does not heritate from ComponentBase

Open Methraen opened this issue 5 years ago • 2 comments
trafficstars

@jsakamoto This : MyText = await I18nText.GetTextTableAsync<I18nText.text>(this); Does not work in a file that does not heritate from ComponentBase so is there a way to make it work ? I tried to replace this with null but it displays no data...

Methraen avatar Jan 14 '20 10:01 Methraen

Unfortunately, there is no solution at this time.

However, I planed that add support for .NET Core IStringLocalizer feature.

This will help you to resolve your problem, I think.

It is hard work to complete that plan, therefore please wait about a month if you can.

jsakamoto avatar Jan 16 '20 09:01 jsakamoto

I will wait thank you anyway.

Methraen avatar Jan 16 '20 09:01 Methraen