-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we have more details for the note, please? #33077
Comments
😎🏖️🌴 Summertime! 🏐🏄♀️🦩Stand by! A green dinosaur 🦖 (guardrex) will arrive shortly to assist. |
Hello @voroninp ... Yes, I think the NOTE should explain it. First, let's cross-ref the source for the WASM culture provider ... Here are the docs PR and PU issue cross-links related to this ...
Although the PU issue closed out on the reason from Jeff that ...
I don't follow that reasoning. I wouldn't necessarily expect them to be the same. I don't understand the thinking behind this line of the provider where only the @hishamco ... Do you know why (or can you guess why) this limitation actually exists beyond that 'resources won't load properly'? |
Yes, indeed strange they are using |
We in our company started writing special comments with categories: Inspired by this book https://www.oreilly.com/library/view/living-documentation-continuous/9780134689418/ |
For that suggestion, it would go to 👉 https://github.com/MicrosoftDocs/feedback/issues. |
Received an update from Steve on this: He thinks this might be a bug. He's going to let me know if I should open a new issue on it or if the original PU issue that was closed should be re-opened for work. In the meantime, I'll see about adding remarks on this when I reach this issue for work. |
What is PU? |
"product unit" |
I did write the note, but I think this is important for WebAssembly only to set the proper culture resources to be loaded, and no need to set that on the server |
Steve thinks it sounds like a bug. Either he'll re-open that issue from 2020, or I'll open a new one over there. I'll ping you on it either way so you can keep an 👁️ on it. |
I'll try to repro the behavior and give them a sample app for that PU issue ☝️ soon ... either today or tomorrow. In the meantime, I'll try to resolve this issue for now by adding a cross-link to the PU issue. Since I'm tracking on the PU issue, I'll see when/how they deal with it and open a new docs issue later for an additional update, which we hope will be to remove the notes and remark in passing that it is OK to set the current and current UI cultures to different values. |
Description
[Enter feedback here]
There's a note:
This is nice, but it does not provide the explanation of why? String localizer should use
CurrentUICulture
exclusively, why does it needCurrentCulture
as well?Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/globalization-localization.md
Document ID
d6f07538-228e-9f96-680f-6c324caf11d6
Article author
@guardrex
The text was updated successfully, but these errors were encountered: