Fix pages localization now it uses the new API style