DEV Community 👩‍💻👨‍💻

Discussion on: How to localize texts in your client-side Blazor WebAssembly App?

Collapse
fededim profile image
Federico Di Marco

Just a question about step 4. in a Blazor WebAssembly project there is no startup class how can I add your i18nText service ?

Collapse
fededim profile image
Federico Di Marco

Nevermind, how is written in your GitHub project page github.com/jsakamoto/Toolbelt.Blaz...

Collapse
j_sakamoto profile image
jsakamoto Author

I'm sorry too late.
You can add i18ntext service in your Program.cs.

Please see also "(If) Your project is Blazor WebAssembly v.3.2+, you should edit Program class to do this" section in Setp.4, the README document on the GitHub repository.