Join GitHub today
Localized naming of doctypes is not working in nested content doctype selector overlay #3483
A doctype name prefixed with # should be translated using the corresponding dictionary item. This is also the case in general, except in the nested content overlay.
The error seems to be in this specific file: https://github.com/umbraco/Umbraco-CMS/blob/1bb593d264a085f94a3ce3bd710392b350561430/src/Umbraco.Web/PropertyEditors/NestedContentController.cs
In line 20 the name of the doctype is returned directly instead of attempting to translate. The NestedController should translate the names, similarly to the way the ContentTypeController (e.g. line 360) translates them.
Thanks @frederikreher - I see you've introduced a new method there but I'm sure there's already methods in Umbraco for that somewhere, other things do this translation already. So if you can find those (sorry, I have no pointers at the moment) then we'd love to see a PR for this as well!