Ryan to do this.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Rick-Anderson can I participate on this while I added almost the localization features if not all in 3.0.0 :)
@hishamco Can you provide a PR with the 3.0 updates? You might want to duplicate the entire document like this:
::: moniker range=">= aspnetcore-3.0"
copy of existing doc which you update for 3.0
::: moniker-end
::: moniker range="< aspnetcore-3.0"
original document
::: moniker-end
::: moniker range=">= aspnetcore-3.0"
copy of existing doc which you update for 3.0
::: moniker-end
Sure, I already know the monikers stuff :)
FYI: I wrote a related blog post http://hishambinateya.com/what-is-new-in-localization-in-asp.net-core-3.0
This guide is great for application localization.
Is there any built-in way to localize a razor component library as stand alone ? (i.e. all the resx files should be inside the library itself, etc...).
I read a few guides already and they all target only localizing an application.
There's a built in support for that with the help of ResourcesLocationAttribute
Thanks. I'll look into that.
Do you know of any guides/example that can help with this specific scenario ?
The desired result is having built-in resx files for the library for common languages, and still allowing to override specific values/add new languages by the consumer of the library also through localization.
The current docs mentioning that also you can check aspnet/entropy repo
@casee these are examples from the source
https://github.com/aspnet/AspNetCore/tree/master/src/Middleware/Localization/testassets
They are absolutely will help you
I think it's the time to start on this one
@Rick-Anderson shall I start with modifying the current code to target 3.0, after that we can write about the new stuff that have been added
@Rick-Anderson shall I start with modifying the current code to target 3.0,
Sure. Just remember
::: moniker range=">= aspnetcore-3.0"
copy of existing doc which you update for 3.0
::: moniker-end
::: moniker range="< aspnetcore-3.0"
original document
::: moniker-end
Don't worry about the monikers, I already worked with them before :)
the PR is coming 🚀 🚀 🚀
@Rick-Anderson I will create another PR to talk about the Content-Language header, one more thing there's a minor change in LogLevel when the culture is unsupported shall we point to this?
there's a minor change in
LogLevelwhen the culture is unsupported shall we point to this?
Sure
Ok, I will did that in my 2nd PR