En replaces a noun that has already been named and comes with de or with the partitive or indefinite article, and it stands before the verb, like the object pronouns: J'ai des pommes → J'en ai — “I have some”.
What it expresses
- A quantity. En replaces a noun with the partitive article du, de la or with the indefinite des: Tu veux du café ? — Oui, j'en veux — “Would you like some coffee? — Yes, I'd like some”. If a number or an expression of quantity is given, en replaces only the noun, and the number stays after the verb: J'ai deux frères → J'en ai deux — “I have two”, Il a beaucoup de livres → Il en a beaucoup — “He has a lot”. Expressions of quantity are in the topic quantity with de.
- An object with de referring to a thing: Je parle de ce film → J'en parle — “I'm talking about it”, J'ai besoin de mon ordinateur → J'en ai besoin — “I need it”. This is how the object is replaced after parler de “to talk about”, avoir besoin de “to need”, s'occuper de “to deal with, to look after”, avoir peur de “to be afraid of”. See direct and indirect objects.
- The place someone comes from: Tu viens de la poste ? — Oui, j'en viens — “Have you just come from the post office? — Yes, I've just come from there”.
In English en is translated by its meaning — “some”, “any”, “of them”, “about it”, “from there” — or not translated at all.