Why not like this?
%strong.certificate-level= t("levels.#{@certificate.attained_level}.title_with_level")