Update sonata_template_box to allow translations

Fix units tests