Questions & Answers about لما شافت صاحبتها، البنت ضحكت وبقت مبسوطة.
Here لما means when.
So لما شافت صاحبتها = when she saw her friend.
A useful note: in Arabic, لما can have different uses in different contexts, but in this sentence it is a time word introducing a past event.
Because شافت is the past tense, 3rd person feminine singular form of شاف (to see) in Egyptian Arabic.
- شاف = he saw
- شافت = she saw
The -ت ending is what tells you the subject is she.
Since البنت (the girl) is feminine singular, the verb matches it.
صاحبتها breaks down like this:
- صاحبة = female friend
- ها = her
So صاحبتها literally means her female friend.
This is different from:
- صاحبها = her male friend / her boyfriend, depending on context
- صاحبتها = her female friend
In this sentence, it most naturally means her friend referring to a female friend.