At first I thought I would get homesick, but thanks to you, I had so much fun.
この文章が以下のように翻訳されています。
最初はホームシックになると思ってたけど、あなた達のおかげで楽しく過ごせました。 ー At first I thought I would get homesick, but thanks to you, I had so much fun.
最初は ー At first / in the beginning
ホームシックになる ー I would get homesick
と思ってた ー I thought / I worried that
けど、 ー but / however
あなた達のおかげで ー thanks to you
楽しく過ごせました。 ー I had so much fun / I was able to have fun / it was fun
参考になれば嬉しいです。
・Thanks to you, I was able to have a great time.
「あなた達のおかげで、私は楽しく過ごすことができました」
was able to(〜することができた)を使うことで、不安を乗り越えて「あなた達のおかげで楽しく過ごせました」と伝えることができます。
・Thanks to you, I had a wonderful time here.
「あなた達のおかげで、ここで素晴らしい(楽しい)時間を過ごせました」という意味の表現です。