[07:10] <dpm> good morning all
[08:06] <yurchor> Hi! Does anybody know if LP translations of CUPS (https://translations.launchpad.net/ubuntu/precise/+source/cups/+pots/cups ) are used anywhere? Is there any progress in Bug 607141 ?
[08:34] <kelemengabor> yurchor: AFAIK, nothing - those translations are not used in the langpacks, you should submit them to upstream
[08:35] <yurchor> So what is the sense to have translations that are stirred by Apple Inc. on LP every release?
[08:39] <dpm> yurchor, well, it's simply that there are lots of templates in Launchpad and we haven't had the chance to fix all of those that don't work with language packs, and it's often not as simple as just disabling them. Your e-mail and mentions on IRC certainly help highlighting the ones we should look at, thanks! :-)
[08:40] <yurchor> Thank you for your work on finding thewm too. :)
[19:53] <davidcalle> kelemengabor, hi
[19:54] <kelemengabor> davidcalle: pong
[19:55] <davidcalle> kelemengabor, by any chance, do you have an idea how to fix this localization bug? https://bugs.launchpad.net/bugs/993002
[19:59] <kelemengabor> davidcalle: looking
[19:59] <davidcalle> oops, sorry, I'm on an eeepc and I'm a bit clumsy with it :)
[19:59] <davidcalle> kelemengabor, thanks
[20:01] <kelemengabor> davidcalle: I'm looking at the code at http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/view/head:/src/unity-lens-video#L42
[20:02] <kelemengabor> could you explain why is it necessary to fiddle with LANGS & co?
[20:02] <kelemengabor> I mean this part between lines 42-77... I never saw something like this
[20:03] <davidcalle> kelemengabor, I've used a localization tuto, I had no experience with it.
[20:06] <kelemengabor> okay, how about following this one: http://docs.python.org/library/gettext.html
[20:07] <kelemengabor> especially the example under 22.1.1
[20:12] <davidcalle> kelemengabor, that would be the sane thing to do, thank you ;) Do you mind if I ask you to review the changes when I'm done?
[20:13] <kelemengabor> so to wrap it up: line 45 could be changed to
[20:13] <kelemengabor> LOCAL_PATH = "/usr/share/locale/"
[20:13] <kelemengabor> lines 68-69 can stay, 76 should be _ = gettext.gettext, everything else between 42-77 should be removed and in theory, you should be fine
[20:13] <kelemengabor> sure
[20:22] <davidcalle> kelemengabor, now the code actually makes sense. http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/revision/73
[20:23] <kelemengabor> davidcalle: looks good, but why import gettext again? it was already imported at the very beginning, wasn't it?
[20:24] <davidcalle> Right. I missed it.
[20:27] <davidcalle> kelemengabor, thank you, once again ;-)
[20:29] <kelemengabor> davidcalle: I just built a deb from the lp:unity-lens-videos branch, let's see if I can switch my system into cuban locale :)
[20:30] <kelemengabor> hm, seems like there is no such thing in language-selector :(
[20:32] <davidcalle> kelemengabor, but it apparently exists in the Ubiquity locale chooser. That's annoying.
[20:33] <davidcalle> I'm going to ask the user affected to test the dev PPA.
[20:47] <kelemengabor> davidcalle: that's the way to go. I have just tested it with es_AR and hu_HU, neither did crash, but both looked localized perfectly
[20:49] <davidcalle> kelemengabor, I'm installing the es_ set. Good to know :) Thanks a lot for your help.
[20:49] <kelemengabor> you are welcome :)