[07:10] good morning all [08:06] 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:06] Launchpad bug 607141 in Ubuntu Translations "Cups translation template should be in the binary package, not in the langpack" [Low,Triaged] https://launchpad.net/bugs/607141 === ulysses_ is now known as ulysses [08:34] yurchor: AFAIK, nothing - those translations are not used in the langpacks, you should submit them to upstream [08:35] So what is the sense to have translations that are stirred by Apple Inc. on LP every release? [08:39] 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] Thank you for your work on finding thewm too. :) === dpm is now known as dpm-afk === dpm-afk is now known as dpm [19:53] kelemengabor, hi [19:54] davidcalle: pong [19:55] kelemengabor, by any chance, do you have an idea how to fix this localization bug? https://bugs.launchpad.net/bugs/993002 [19:55] Launchpad bug 993002 in unity "Unity video lens doesn't work when installing in Cuba country" [Undecided,New] [19:59] davidcalle: looking [19:59] oops, sorry, I'm on an eeepc and I'm a bit clumsy with it :) [19:59] kelemengabor, thanks [20:01] 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] could you explain why is it necessary to fiddle with LANGS & co? [20:02] I mean this part between lines 42-77... I never saw something like this [20:03] kelemengabor, I've used a localization tuto, I had no experience with it. [20:06] okay, how about following this one: http://docs.python.org/library/gettext.html [20:07] especially the example under 22.1.1 [20:12] 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] so to wrap it up: line 45 could be changed to [20:13] LOCAL_PATH = "/usr/share/locale/" [20:13] 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] sure [20:22] kelemengabor, now the code actually makes sense. http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/revision/73 [20:23] davidcalle: looks good, but why import gettext again? it was already imported at the very beginning, wasn't it? [20:24] Right. I missed it. [20:27] kelemengabor, thank you, once again ;-) [20:29] 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] hm, seems like there is no such thing in language-selector :( [20:32] kelemengabor, but it apparently exists in the Ubiquity locale chooser. That's annoying. [20:33] I'm going to ask the user affected to test the dev PPA. [20:47] 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] kelemengabor, I'm installing the es_ set. Good to know :) Thanks a lot for your help. [20:49] you are welcome :)