DEV Community

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

Collapse
 
fabianus76 profile image
fabianus76

Hey Jsakamoto, great work !
What about translation of ValidationAttribute.ErrorMessage ?

Best regards,
Fabianus

Collapse
 
j_sakamoto profile image
jsakamoto

Sorry too late!
Yes, you can do it with combinations NuGet packages below.

Unfortunately, there are no good documents at this time.

Could you try to figure out the sample program below?

github.com/jsakamoto/Toolbelt.Blaz...

P.S.
Blazor WebAssembly looks like it will be started to official support for localization.

See also: youtu.be/RsPXkgOL2gI?t=3010

Please keep watching it too!