I18N and Tkinter

I am currently developing a snap with Tkinter, and I’m most of the way there. However, it seems that typing in a different script doesn’t work (although I can still paste text from another script). I understand that, as a desktop application, it isn’t supposed to need the locales-launch-part for I18N. Does anyone know what’s wrong with it?

My snapcraft.yaml is as follows:

name: prosakart
base: core18
version: '0.1.0'
icon: icon.png
summary: Application for language memorization.
description: |
  ProSakart is a language-learning application, specifically for vocabulary
  memorization. It is a portmanteau of Professional and Sakartvelo. Its source
  code is written in Python.

grade: devel
confinement: strict

apps:
  prosakart:
    adapter: full
    command: bin/prosakart
    command-chain:
      - bin/debian-multiarch-triplet-provider-launch
      - bin/tcltk-launch
    plugs:
      - desktop
      - home
      - x11
      - unity7

parts:

  debian-multiarch-triplet-provider-launch:
    plugin: nil
    stage-snaps:
    - debian-multiarch-triplet-provider-launch

  tcltk-launch:
      plugin: nil
      stage-snaps:
        - tcltk-launch

  prosakart:
    plugin: python
    python-version: python3
    source: https://github.com/clockback/prosakart.git
    build-packages: []
    stage-packages:
      - python3-tk
      - python3-pil.imagetk
      - fontconfig-config
      - fonts-dejavu-core
      - fonts-dejavu-extra
    python-packages: []
    after:
      - desktop-glib-only

  desktop-glib-only:
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
    source-subdir: glib-only
    plugin: make
    build-packages:
      - libglib2.0-dev
    stage-packages:
      - libglib2.0-bin

I’ve spent a long time trying to figure out what the particular problem is. On further testing, it seems that there isn’t any event being handled by Tk. I don’t understand why. :frowning: