If I have an answer with two different languages or with the same language but two different versions, is it better to post one answer including both codes or two answers each with one code?
However, if they are very similar, then they should both be in the same answer. For example, note that both answers linked above actually have two solutions, because they were very similar.
Absolutely post separate answers for different languages.
For same language use common sense. Are they different enough that people will want to be able to vote for them separately?
If someone comments that they should be the same answer, consider merging them into one and delete the other.