Je lui ai acheté une nouvelle voiture.

I believe the translation might be incorrect… lui → her ???

No, French uses a single set of indirect complement pronouns for both masculine and feminine referents. In the third person it happens to be “lui”.

1 Like