add test for translation error messages when content_name is nested on element