-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make PO files ❤️ Localization in ASP.NET Core 2.0 using Orchard Core #48
Comments
Hi how can i override ContentRootPoFileLocationProvider and replace using dependency injection. I’m using orchard core as nuget package and tring to override po files location . Is any difference between content root po file location provider and ModularPoFileLocationProvider? |
Things are change since I wrote my blog post, but let me check or forward your question there .. |
According to the Orchard Core docs PO files are found via the following steps:
So you can simply override the services.AddSingleton<ILocalizationFileLocationProvider, CustomContentRootPoFileLocationProvider>() |
In startup.cs I have like this:
breakpoint hit in constructor but my breakpoint never hit on GetLocations(string cultureName) method. |
While the topic go further I think we need to move this to Orchard Core repo for better tracking and involve the community |
No description provided.
The text was updated successfully, but these errors were encountered: