We should not be doing the job of fields_view_get() a second time, translating the UI is its job. We must find a way to let the system do it automatically or we should simply remove this original code that tries to implement dynamic layouts.
Maybe this layout patch could be done by modifying the XML structure programmatically and moving nodes around instead of replacing the XML source brutally?
We should not be doing the job of fields_view_get() a second time, translating the UI is its job. We must find a way to let the system do it automatically or we should simply remove this original code that tries to implement dynamic layouts.
Maybe this layout patch could be done by modifying the XML structure programmatically and moving nodes around instead of replacing the XML source brutally?