Renames variables in the /search route to match the language of their functions.