Toolbelt.Blazor.I18nText
Toolbelt.Blazor.I18nText copied to clipboard
How to use I18nText in a file that does not heritate from ComponentBase
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...
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.
I will wait thank you anyway.