Update deprecated localization call.