Fixes #35627. Uses a new system of "word_replacement" for replacing words, trying for capitalized, upper case and just the regular key. Supports multiple possible "replacements" for a given key.