It's both. LOCPATH needs to be set when launching the application because otherwise an absolute path will be used. And locales-all contains data such as time and date formats or how to deal with numbers.
I created a proof of concept snap providing the same languages available on the click-based phone images. That brings the 127M of installed size down to 34.5M - the snap (as noted in https://github.com/ubuntu/snapcraft-desktop-helpers/pull/12) is indeed a mere 3.5M, which is nice for OTAs, but it grows when unpacked. Just to highlight why there's different numbers being talked about. https://code.launchpad.net/~ubuntu-sdk-team/+snap/ubuntu-language-pack-base -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gettext translated Status in Canonical System Image: In Progress Status in Snapcraft: New Status in Ubuntu App Platform: In Progress Status in snapcraft package in Ubuntu: Confirmed Status in unity8 package in Ubuntu: Confirmed Bug description: Currently it seems not possible to have working gettext translations without included a patch glibc build in your snap - the core image doesn't have locales definition that can be worked around by including locales definitions in the snap, though that's tedious, ideally snapcraft would help there - traditional desktop applications are built with calls to 'bindtextdomain ("domain", LOCALEDIR)', where LOCALDIR is defined at buildtime and so pointing to /usr there seems to be no way to redirect to another directory at runtime - desktop applications needs system library translations sometime which means langpacks need to be included in snaps To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1576282/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp