NBBC: Remove unnecessary translateToHtml function.