Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
You should only need services.AddEmbeddedLocalization<Startup>() and then making sure your xml files are marked as embedded in the project file. I think it will scan for all embdedded xml files but in Foundation we use lang folder.
Glad you got this figured out! Just in case this helps anyone- I recently ran into an issue where Views.en.xml was not embedded, despite the file being marked as an embedded resource. Changing the filename to Views_en.xml fixed that.
Hello all,
I am migrating from CMS 11 to 12, and cannot track down why my property and content type names language files are being ignored. I'm not seeing any CMS 12/.NET Core specific changes in the documentation. Maybe I have inadvertently excluded a piece.
We have no actual need for localization in the CMS UI, but use the XML files. I know I could move the text from XML to code, but because of our extensive use of inheritance, it would require overriding properties just for changes to names/descriptions. And the moving would be very large.
On a side note, are there any plans to move things from .config/xml files to json?
Any insight would be appreciated!
Thanks,
Kevin