jsakamoto / Toolbelt.Blazor.I18nText

The class library that provides the ability to localize texts on your Blazor app!
Mozilla Public License 2.0
246 stars 23 forks source link

How wire up the API's #15

Closed T-Alkathiri closed 4 years ago

T-Alkathiri commented 4 years ago

Dear sir, Thank you very much for this great solution. If you please post a small example on how to use the api's with this solution will be very appreciated. Again thank you very much for that.

jsakamoto commented 4 years ago

Is the sample code bellow helpful for you?

https://github.com/jsakamoto/Toolbelt.Blazor.I18nText/blob/master/Tests/Client/Shared/MainLayout.razor

The sample code above describes how to retrieve the current language, and how to change the current language.