"Sorry, I'm out of white socks."
Translation:Désolé, je n'ai plus de chaussettes blanches.
In the negative ne + verb + pas/plus/jamais/rien, the partitive articles (du, de la, des, de l') all become de or d'.
Tu as des pommes ? / Non, je n'ai pas de pommes.
Nous avons du lait. / Nous n'avons pas de lait.
Vous buvez de la bière ? / Non, nous ne buvons jamais de bière.
Tu vois des artichauts ? / Non, je ne vois pas d'artichauts.
Note for countable objects like chaussettes and pommes, the plural form remains. For uncountable things like lait or bière, they are not plural.
This does not apply to negations with the verb ÊTRE, they keep their partitive articles. (And Aimer, Adorer, Détester, Préférer, Apprécier since they refer to nouns in general or in the abstract: j'aime le chocolat. / je n'aime pas le chocolat. There are possibly other verbs as well... because French.) In general use de or d' with negative statements, and mind the exceptions!
There isn't any indication in the English sentence that this is referring to specific white socks.
J'ai des chaussettes blanches. — I have white socks.
J'ai les chaussettes blanches. — I have the white socks. (specific)
Je n'ai plus de chaussettes blanches. — I (no longer have/am out of) white socks. (general)
If the English sentence were I no longer have the white socks, then you could make the case for "les". However, I'm out of white socks means white socks in general.
Most negations in French are not specific and you would use de or d'.
I am such a beginner at this. The shown French translation to me is saying "Sorry, I no longer have white socks." So, to translate from English "Sorry, I'm out of white socks." to the French... Where does the NO Longer part come in?? "Out of" means "no longer" to somebody at Duo? It seems very arbitrary, like I need to guess how they want it translated. I'm out, I don't have, There are no white socks here...etc, Very frustrating....
Ne... plus means "to no longer have" "to not have any more" or "to have no more left". Basically the idea is you once had "some" but now you have none left.
"To be out of something" in English conveys the same idea, but that isn't very clear when translating it back to the original French. I've changed the best translation in the reverse exercise to "sorry, I have no more white socks" in order to make this a better exercise when translating into French. It may take a few days to update here. When it does, "out of" should no longer appear above.
Thanks for signaling and I hope this exercise is less frustrating in the future.