Use Translate function in some places

Use the translation function that was forgotten in some places