Ensure the language callback is run correctly