Localization (or keyboard layout) on PySide app

Hi there

I am trying to snap an app that uses PySide, but I am dealing with a locale issue: text fields do not accept accents (ç, á, é …). I have tried many options, pagkages, plugs with no success. Any suggestions?

Thanks for your attention.