In French, "when" can be translated as:
* quand (most common)
* lorsque (more formal or literary)
* à l'instant où (when referring to a specific moment)
The best translation depends on the context.
For example:
* "When will you arrive?" -> "Quand arriveras-tu?"
* "When I saw her, I was surprised." -> "Lorsqu'elle ai vue, j'ai été surpris."
* "When the clock struck twelve, the lights went out." -> "À l'instant où l'horloge a sonné midi, les lumières se sont éteintes."