to use "quel est" or not
In exercise, comment/31658284, the sentence in French is: • Tu sais "quel est" le sexe du bébé ? While in exercise, comment/31458898, the English sentence to be translated into French is: We're going to learn the sex of the baby. The approved answer was Nous allons apprendre le sexe du bébé. When I answered it, I wrote Nous allons apprendre "quel est" le sexe du bébé, to be consistent with the former sentence. Can someone please explain why "quel est" is required in the first sentence above, and not in this last sentence translation?
Yup. Your French sentence doesn't back translate. Look at the below.
Note: www.deepl.com is a little better than google translate - but it can still come up with odd/incorrect translations. If you choose to either either of them - be careful.
I'm pretty certain it's possible to use "quel" in a declarative (it can also be a relative adjective), so take the above w/a grain of salt. It really does depend on the sentence you are working with.
For example, something like the following. NB: this is on my learning edge of French, so others might chime in and correct the below.
We will learn what the sex of her child will be. <-> Nous apprendrons quel sera le sexe de son enfant.