Do not expose culture we do not accept for languages#16265
Do not expose culture we do not accept for languages#16265nikolajlauridsen merged 1 commit intov14/devfrom
Conversation
…uthermore, I moved it to a service to people can replace the logic
|
Am I correct to say that If that's the case, the |
|
@ronaldbarendse, I do not follow. Why would you ever put that business logic in a controller? The idea is you can replace it, with whatever, but Umbraco do not support weird cultures out of box. Cultures are one of the things the still differ a lot, based on the underlying OS. |
But doesn't .NET already provide the plumbing to replace/change the cultures returned by |
Description
This PR ensures we do not expose any cultures we do not accept in languages.
Furthermore, I moved it to a service to people can replace the logic
Test