I would have stayed longer, but I needed to work.

What does I would have stayed longer, but I needed to work. mean?

I would have stayed longer, but I needed to work.

I would have stayed longer, but I needed to work. in other languages