I have custom node-form.html.twig templates for all my content-types for heavy customisation. I was trying to improve the file structure but for some reason, the node-form templates only work if I put them in the root of the templates folder. If I move them in a subfolder (/templates/node-forms for example) I'm getting an error:
Twig\Error\LoaderError: Template "themes/mytheme/templates/node-form.html.twig" is not defined.
Do I have to specify anything more in my theming function below to make Drupal aware of the sub-location?
I would like to translate those values to spanish, if this will be no posible my second idea was to create another field with those values in spanish and using something like a condition to show fields that are in spanish or english depending of what was selected