/srv/irclogs.ubuntu.com/2012/05/02/#ubuntu-translators.txt

dpmgood morning all07:10
yurchorHi! 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
ubottuLaunchpad bug 607141 in Ubuntu Translations "Cups translation template should be in the binary package, not in the langpack" [Low,Triaged] https://launchpad.net/bugs/60714108:06
=== ulysses_ is now known as ulysses
kelemengaboryurchor: AFAIK, nothing - those translations are not used in the langpacks, you should submit them to upstream08:34
yurchorSo what is the sense to have translations that are stirred by Apple Inc. on LP every release?08:35
dpmyurchor, 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:39
yurchorThank you for your work on finding thewm too. :)08:40
=== dpm is now known as dpm-afk
=== dpm-afk is now known as dpm
davidcallekelemengabor, hi19:53
kelemengabordavidcalle: pong19:54
davidcallekelemengabor, by any chance, do you have an idea how to fix this localization bug? https://bugs.launchpad.net/bugs/99300219:55
ubottuLaunchpad bug 993002 in unity "Unity video lens doesn't work when installing in Cuba country" [Undecided,New]19:55
kelemengabordavidcalle: looking19:59
davidcalleoops, sorry, I'm on an eeepc and I'm a bit clumsy with it :)19:59
davidcallekelemengabor, thanks19:59
kelemengabordavidcalle: I'm looking at the code at http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/view/head:/src/unity-lens-video#L4220:01
kelemengaborcould you explain why is it necessary to fiddle with LANGS & co?20:02
kelemengaborI mean this part between lines 42-77... I never saw something like this20:02
davidcallekelemengabor, I've used a localization tuto, I had no experience with it.20:03
kelemengaborokay, how about following this one: http://docs.python.org/library/gettext.html20:06
kelemengaborespecially the example under 22.1.120:07
davidcallekelemengabor, 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:12
kelemengaborso to wrap it up: line 45 could be changed to20:13
kelemengaborLOCAL_PATH = "/usr/share/locale/"20:13
kelemengaborlines 68-69 can stay, 76 should be _ = gettext.gettext, everything else between 42-77 should be removed and in theory, you should be fine20:13
kelemengaborsure20:13
davidcallekelemengabor, now the code actually makes sense. http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/revision/7320:22
kelemengabordavidcalle: looks good, but why import gettext again? it was already imported at the very beginning, wasn't it?20:23
davidcalleRight. I missed it.20:24
davidcallekelemengabor, thank you, once again ;-)20:27
kelemengabordavidcalle: 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:29
kelemengaborhm, seems like there is no such thing in language-selector :(20:30
davidcallekelemengabor, but it apparently exists in the Ubiquity locale chooser. That's annoying.20:32
davidcalleI'm going to ask the user affected to test the dev PPA.20:33
kelemengabordavidcalle: that's the way to go. I have just tested it with es_AR and hu_HU, neither did crash, but both looked localized perfectly20:47
davidcallekelemengabor, I'm installing the es_ set. Good to know :) Thanks a lot for your help.20:49
kelemengaboryou are welcome :)20:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!