setup translation and headerbar buttons