Repaired language switching in documentation