I don't know about 2G but the 3G & 4G bands listed in the tech specs aren't compatible with those used in Europe.
Oh, that's a bummer it's not working for you. Looking at our International Plans | Traveling Abroad without Roaming Fees | T-Mobile page, it does give you the ability to check a device to see if it's able to work in those countries. Unfortunately, this device won't work in either location. Sorry my friend.
Need our help? Contact us.