Change State.translate.before_input and .before_display to State.translators.before_input and .before_display