What Different Patterns Are There To Make 不如 Sentences？
Both are correct.
Your question has nothing to do with 不如. The point is 法语说得流利 vs 说法语说得流利. The former's emphasis is 法语, while the latter's one is 说法语. Here's a nuance of the sentence's sense.