The solution was using

github.com/SnakeJesus/Umlaute-on-US-layout

It seems that it is also necessary to define the AltGr key (see Gunnar Hjalmarsson comment):

include "level3(ralt_switch)"