-
Hi, I'm currently working on a .NET MAUI Blazor app, which I want to be in German only. Currently, all text coming from BootstrapBlazor is in English, as mentioned in the docs. I'm now trying to switch everything to German, but I can't seem to get it working:
Still, all texts are in English. Does anyone have a working example on how to switch my entire app to German? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
@tdittmar Hi, Could you provider a demo for this? |
Beta Was this translation helpful? Give feedback.
-
I tried so many things, I don't have a "small example", but I can show what I did. The file This is my appsettings.json:
This is the code of MauiProgram.cs:
|
Beta Was this translation helpful? Give feedback.
copy json localization file
copy https://github.com/dotnetcore/BootstrapBlazor/blob/main/localization/de.json file into your project
/Locales/de.json
and set build action toEmbedded resource
configuration
before
return builder.Bu…