added translation to the dialogs