As a foreigner, it's difficult to truly become part of a community, even if one's lived there for a long time.
こんにちは!
ご質問ありがとうございます。
"As a foreigner,"=「外国人として、」
"it's difficult to truly become part of a community,"=「コミュニティーの、本当の一員となるのは難しい、」
"even if one's lived there for a long time."=「そこに長く住んでいたとしても。」
ご参考になると幸いです。