inputdevices: add translation for layouts