/srv/irclogs.ubuntu.com/2012/04/15/#ubuntu-app-devel.txt

cccangelhello.09:30
cccangelim in my first semester of college going to school to be a software programmer and I am trying to specialize and put emphasis on learning stuff that would better help linux technologies and help me find a job in the field supporting linux technology.09:31
JanChello, cccangel, nice goal ☺09:37
cccangelim in both  this dev channel and ubuntustudio mainly because i expressed curiousity in learning some new things so i can contribute09:38
cccangeli learned Visual C# and Java along with web dev but now I love ubuntu as a replacement and see its potential and ...09:39
cccangelbtw i am doing a speech project and its going to be an advocate speech for ubuntu 12.0409:39
=== cccangel is now known as cccangel-away
=== cccangel-away is now known as cccangel
commandolineHi. I'm currently writing an open-source PyQt4 application. It uses gettext for translations (because Qt's system isn't supported by Launchpad). As far as I understand, the 'default' way in Ubuntu is to store them into /usr/share/locale/ . Does that mean I also need to place the files there while developing? And how to maintain compatibility with other OS's (i.e. mainly windows and mac)?18:43
commandolineanother question behind it is: What's 'the recommended' file structure for a project like this?18:44
jalcineWhich other files are you referring to?18:49
commandolinewell, the mo files normally go in /usr/share/locale18:50
commandolinebut when I'm developing and want to test some translations, where should I store them then?18:50
commandolinesomewhere inside my project, or is it 'normal' to just put them inside the /usr/share/locale dir?18:52
jalcineAfter installing and what-not, they should go within /usr/share/locale, but if you're just trying to test it out in the app, use QTranslator to switch the app's language.18:57
jalcineIt should pick it up.18:57
commandolineI'm using gettext, but yes, gettext would see the files in that directory. So while testing, I should just place the mo files manually into /usr/share/locale?18:58
=== jalcine is now known as JackyAlcine
JackyAlcineSorry for my latency, but yes.19:17
commandolineok, thanks JackyAlcine :)19:18

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