Easy Accents is a Google Docs Add-on that can eliminate that challenge. Easy Accents provides a virtual keyboard that enables students to quickly insert the letters and accents found in French, German, Spanish, Māori, and Sámi.
If you're looking for a virtual keyboard that will work outside of Google Documents, check out Type It. Type It is a free online program for typing accent marks and other special characters that are often required for languages other than English. Type It supports twenty-one languages and currency symbols. You can insert accents and characters by selecting them from the menu provided by Type It or by using their suggested keyboard shortcuts.