Open freepay2020 opened 1 month ago
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs.
If you like Orchard Core, please star our repo and join our community channels.
Most of the code you posted is not need and should be removed. Follow the setup described here https://docs.orchardcore.net/en/latest/getting-started/
Enable the Localization feature for the tenant and you should be able to see the site in other languages. @hishamco is more familiar with localization, he may be add more info.
Actually I think the issue is about the localization package we ship (po files + pluralization support) and not the CMS part (or modularity/tenants).
For reference, the documentation on how to use this package https://learn.microsoft.com/en-us/aspnet/core/fundamentals/portable-object-localization?view=aspnetcore-8.0
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
@freepay2020 why did you configure RequestLocalizationOptions
again? it should be done in OC by default. Please share a repo to reproduce the issue
Actually I think the issue is about the localization package we ship (po files + pluralization support) and not the CMS part (or modularity/tenants).
I don't think there's an issue, I'm updating the localization sample in AspNet Docs frequently, let me do it for the last version then confirm
Re-add and set up localization in the background.
I can find of two reasons this would fail:
zh
might not be a known culture on Linux in .NET (but this should be a good fallback value for zh-CN and zh-TW)Can you check both?
Orchardcore can work well in my local windows , but doesn't work in remote Linux docker,what's the problem ? i mean the app runs well, only localization doesn't work well.
Orchard Core version 1.6 for .net core 6
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Logs and screenshots
If applicable, add log files, browser console logs, and screenshots (or screen recording videos) to help explain your problem.