Fix code example
Don't throw error if a language isn't set