Snaps built from deb can't be gettext translated
Bug #1576282 reported by
Sebastien Bacher
This bug affects 17 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
In Progress
|
High
|
Cris Dywan | ||
Snapcraft |
New
|
Undecided
|
Unassigned | ||
Ubuntu App Platform |
Fix Released
|
High
|
Cris Dywan | ||
snapcraft (Ubuntu) |
Confirmed
|
Undecided
|
Sergio Schvezov |
Bug Description
Currently it seems not possible to have working gettext translations without included a patched 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
Related branches
~osomon/ubuntu-app-platform:add-locales-all
- Cris Dywan: Approve
-
Diff: 13 lines (+2/-0)1 file modifiedsnapcraft.yaml (+2/-0)
tags: | added: snap-desktop-issue |
summary: |
- Snaps built from deb can't be translations + Snaps built from deb can't be gettext translated |
Changed in snapcraft (Ubuntu): | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
Changed in ubuntu-app-platform: | |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → High |
Changed in ubuntu-app-platform: | |
status: | New → In Progress |
tags: | added: personal |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → p2 |
status: | New → In Progress |
Changed in ubuntu-app-platform: | |
assignee: | Tim Peeters (tpeeters) → Christian Dywan (kalikiana) |
description: | updated |
no longer affects: | unity8 (Ubuntu) |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.