James Williams commented on merge request !12 at project / language_hierarchy

James Williams
2025-09-16T10:05:33Z

Thanks for reporting this issue and offering a solution! I've added a couple of questions about this particular approach.

But I also wonder if perhaps a simpler approach would be to just remove this setting from the individual language's edit form, and instead to rely on the global hierarchy being enforced from the main list of languages at /admin/config/regional/language, as languages can be nested just like taxonomy terms or menu links from there? I don't think circular references would be possible if that was the only place to configure languages from?

I believe the only reason we have this setting on the individual language's edit form, is that that was implemented before the drag-and-drop functionality on that page listing all the languages. I'm not sure it's all that helpful on the individual language's form, especially given that it can allow this reported problem.