I have implemented a remote part to workaround this issue without depending on any compiled locale data:
You may merge the following Snapcraft YAML snippet instead, which has the equivalent effect:
apps:
_app_name_:
environment:
LANG: C.UTF-8
LC_ALL: C.UTF-8