когда тебе было

when you were

→ когда
phrase Uncommon #14,713
when you were Used to talk about your age at a particular time, usually followed by a number and лет, such as когда тебе было десять лет (“when you were ten”). The form тебе было is used regardless of the person's gender.
RU: Что ты любил делать, когда тебе было семь лет?
EN: What did you like to do when you were seven?

Ты мог считать до десяти, когда тебе было два года.

You could count to ten when you were two years old.

Когда тебе было бы удобно?

When would be convenient for you?

Где ты жила, когда тебе было пять?

Where did you live when you were five?

— Человек с Земли (2007)

Когда тебе было два года, ты уже умел считать до десяти.

When you were two years old, you could already count to ten.

Где ты жил, когда тебе было тринадцать лет?

Where did you live when you were thirteen years old?