Replies: 1 comment 1 reply
-
| 
         Have you tried it just like this? : add this into the .csproj ? and this in program.cs :  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently trying to automatically set the WebAssembly language to the same what the server is using for that specific user.
To have it more or less automated in our environment, we're trying to implement it in a JSInitializer like so:
Despite that, it'll fallback to the first accept-language headers value.
Is what we're doing unsupported?
I know I can just move that code to Blazor.start(), but I would like to have in a central place, instead of every applications App.razor
Beta Was this translation helpful? Give feedback.
All reactions