Fix build errors due to translation bug