← Back to issue list

Snaps built from deb can't be gettext translated

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1576282
Type
issue
State
open
Author
~seb128
Labels
personal snap-desktop-issue
Created
2016-04-28 15:32:12.993098+00:00
Updated
2017-07-21 09:38:15.565351+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

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

Evaluation history

No evaluation history available.