use translation for attribute for replaceAfter and replaceBefore