fix build error for translations