Fixed case when switching language from wordpress