[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2021-02-21 Thread Adolfo Jayme
** No longer affects: unity8 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gettext translated To manage notifications about this bug go to: htt

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-07-21 Thread Sebastien Bacher
** Description changed: Currently it seems not possible to have working gettext translations - without included a patch glibc build in your snap + without included a patched glibc build in your snap - the core image doesn't have locales definition that can be worked around by including

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-04-06 Thread Timo Jyrinki
(in edge these days) ** Changed in: ubuntu-app-platform Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gette

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-02-24 Thread Timo Jyrinki
This will be in the next UAP edge upload, which is though delayed for other reasons. ** Changed in: ubuntu-app-platform Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-02-08 Thread Tim Peeters
** Changed in: ubuntu-app-platform Assignee: Tim Peeters (tpeeters) => Christian Dywan (kalikiana) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be get

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-20 Thread Launchpad Bug Tracker
** Branch linked: lp:~kalikiana/ubuntu-ui-toolkit/language-pack-base -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gettext translated To manage notifica

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-18 Thread Christian Dywan
Responding to my own comment: indeed we only need to count the memory used by individual files accessed by a snap on top of the compressed size on disk. Which for a single locale is negligible. So it's worth re- considering including the locales with each platform snap. -- You received this bug n

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-18 Thread Christian Dywan
Perhaps I'm thinking about it wrong - but the uncompressed data has to reside in memory at least? Even if it's not "on disk" per se. So having an extra 100M in memory could still be quite bad. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-18 Thread Oliver Grawert
note that snaps do not get unpacked, they get mounted as-is (compressed) ... so the unpacked size should not really matter.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-18 Thread Christian Dywan
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 p

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-11 Thread Gunnar Hjalmarsson
I stumbled into this issue via , and if I understand it correctly the issue is primarily not due to Ubuntu's language packs. In the case of VLC, the accepted answer at Ask Ubuntu indicates that modifying bindtextdomain() when building the program would be sufficient.

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2017-01-11 Thread Pat McGowan
@christian can I ask you to drive this langpack discussion ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Christian Dywan (kalikiana) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-12-20 Thread Christian Dywan
Re-iterating what I said in the proposed work-around: locales-all weighs in at 127M. I think we need to have the language pack discussion rather than blowing up the size of the platform snap(s). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-12-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: unity8 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Sna

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-12-14 Thread Lukáš Tinkl
** Also affects: unity8 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gettext translated To manage

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-12-14 Thread Pat McGowan
** Changed in: ubuntu-app-platform Status: New => In Progress ** Tags added: personal ** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: canonical-device

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-12-06 Thread Tim Peeters
** Also affects: ubuntu-app-platform Importance: Undecided Status: New ** Changed in: ubuntu-app-platform Assignee: (unassigned) => Tim Peeters (tpeeters) ** Changed in: ubuntu-app-platform Importance: Undecided => High -- You received this bug notification because you are a m

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-11-28 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~osomon/ubuntu-app-platform/+git/ubuntu-app-platform/+merge/311947 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built f

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-10-21 Thread Bill Filler
** Changed in: snapcraft (Ubuntu) Assignee: (unassigned) => Sergio Schvezov (sergiusens) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gettext trans

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-10-07 Thread Olivier Tilloy
And I’ve submitted this workaround against the desktop-helpers so that all desktop apps using them can benefit from it: https://github.com/ubuntu/snapcraft-desktop-helpers/pull/12. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-10-06 Thread Olivier Tilloy
I’ve managed to get translations loaded by my application, doing the following two things: - added locales-all to stage-packages - "export LOCPATH=$SNAP/usr/lib/locale" in launcher script -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-07-06 Thread Olivier Tilloy
Applications written in QML using the ubuntu UI toolkit and the desktop/qt5 part should be covered: the desktop-launch script sets the APP_DIR environment variable to the value of $SNAP¹, and UbuntuI18n::setDomain(…) calls bindtextdomain() with $APP_DIR/share/locale². However I’m not seeing this w

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-06-09 Thread Oliver Grawert
help2man ships a little hack (http://paste.ubuntu.com/16923611/) to preload a modified bindtextdomain() over the original one ... while this is ugly, it actually seems to work ... http://paste.ubuntu.com/16925059/ -- You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-06-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapcraft (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title:

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-04-29 Thread Sebastien Bacher
** Also affects: snapcraft Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb can't be gettext translated To manage notifi

[Bug 1576282] Re: Snaps built from deb can't be gettext translated

2016-04-28 Thread Sebastien Bacher
** Summary changed: - Snaps built from deb can't be translations + Snaps built from deb can't be gettext translated -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576282 Title: Snaps built from deb