Your iPhone and its apps can support typing in many different languages after changing a few simple settings. Launch the Settings app and then go to: General > Keyboard > International Keyboards.
Once there, turn on the foreign language keyboards you need and after that you use the small "globe" icon on the left side of the spacebar to rotate through the keyboards you selected.
In Mobile Safari after the keyboard you've chosen is displayed, you can press and hold the ".com" key. The iPhone will then display the most common top level domain names for your country.
We mentioned the US/English domains in, but in German you'll see .edu, .org, .de, and .com, and in Spanish you'll see .edu, .org, .es, and .com.
This feature is also available in the Mobile Mail app and is consistent among all apps that support the virtual keyboard. However, it isn't always consistent with all countries and in some cases countries aren't represented at all.
You should also take note that the "globe" doesn't appear until you've turned on at least one additional foreign keyboard.
Apple - USE TAG
reading•International keyboards--David's iPhone tip of the week
Aug 17•Siri vs. Alexa vs. Google Assistant
Aug 17•Apple is rethinking the hearing aid -- and now Android is, too
Aug 17•OnePlus 6T will launch with T-Mobile, the first US carrier partner
Aug 17•New 2018 iPhone, iPhone X Plus, iPhone 9: All the rumors on price, specs, release date