good morning *** sjc has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** holycow has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning good morning good morning *** holycow has quit IRC Good morning everyone. I've played around with i18n and l10n and managed to make me a .mo file wich i copyed to /usr/share/locale/sv/LC_MESSAGES/helloworld.mo I imported: from gnue.common.apps import i18n from gnue.common.apps.i18n import translate as _ # for epydoc Apparently this is not enough for my program to do the translations. Does anyone have experience with l10n? Any idéas to what I'm missing? *** nickr has quit IRC *** nickr has joined #gnuenterprise *** dimas has quit IRC *** sjc has quit IRC *** dimas has joined #gnuenterprise *** reinhard has joined #gnuenterprise good afternoon reinhard I've played around with i18n and l10n What I dont get is how an application becomes a member of a domain. Have you got the time to enlighten me on the matter? *** yure has quit IRC rynik: hrm.... let me look i18n.__find_catalog contains the secret it gets the first 2 parts of the complete module name and places a - between them so for example gnue.common.apps.GBaseApp is changed to gnue-common foo.bar.baz.frob is changed to foo-bar and that is the domain btw you don't need to do this import translate as _ it is only a workaround for an epydoc problem I'm missing something as my program doesn't translate managed to make me a .mo file wich i copyed to rynik /usr/share/locale/sv/LC_MESSAGES/helloworld.mo rynik I imported: rynik from gnue.common.apps import i18n rynik from gnue.common.apps.i18n import translate as _ # for epydoc rynik Apparently this is not enough for my program to do the translations. rynik: your domain can not be helloworld if you use i18n.py gue-common? gnue-common? rynik: you can do completely without apps.i18n something like import gettext catalog = gettext.translation ('helloworld', '/path/to/your/mo/file', ['yourlanguage']) _ = catalog.gettext should nearly do it I think Well, what is apps.i18n then? it does magic for finding the right catalog for applications that are mixed from different modules I guess there would be also some use for using it for "external" applications but honestly I never tried much because if I write applications external to gnue, I only need them in German anyway, so I write texts directly in German :) OK, I'll just leave apps.i18n for a while then. And stop writing in German :) It will take a superhuman to translate your programs. I know because they tried to teach me German in school. :) yes. use Latin instead :) btw, I'm interested in translating gnue stuff to swedish. Do you demand acknowledgement of the 'DISCLAMER OF COPYRIGHT...' to the FSF from your translators? we usually haven't done that actually I would not be sure whether a translation is a work in the sense of copyright at all Most of the gnu projects demands the disclamer. (As I understand) for translations? Hang on I'll find a link. http://www.iro.umontreal.ca/translation/HTML/disclaim.html For most packages collaborating with the Translation Project, the translations should be disclaimed. hmmm it seems I can't find a clear answer on this one *** docelic has quit IRC Well, I dont have the answer but I figured as most packages collaborating with the Translation Project, the translations should be disclaimed and so many gnu projects collaborating with the Translation Project... in any case I won't hurt if you sign the copyright assignment please talk with jamest (he is the gnu maintainer of this project) Oh, I dont have a problem with any of this. I'll sign it anyway. with the number of patches you sent (and their kind - documentation!!) I would love to see you getting commit access anyway *** dsmith has quit IRC reinhard, Thanks, no hurry getting commit access from my side though. But I like to fill the holes in the documentation as I learn and patches work fine. rynik: you are in fact fixing the major deficiency (sp?) we have in gnue at all *** kilo has left #gnuenterprise *** yure has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** jamest has joined #gnuenterprise I'm of to summerhouse with kids. Have a nice weekend all of you! summerhouse? you mean you *do* have a summer up there in sweden? ;-) nice weekend rynik! :-) *** rynik has quit IRC *** jcater has joined #gnuenterprise *** reinhard has quit IRC *** reinhard has joined #gnuenterprise *** sjc has joined #gnuenterprise *** sacha_ has joined #gnuenterprise *** btami has joined #gnuenterprise *** yure has quit IRC *** johannesV_ has quit IRC *** yure has joined #gnuenterprise *** btami has quit IRC *** Xyz has joined #gnuenterprise good evening :) hello Xyz hi dimas, are you using gnuE? is anyone here activly using it? (and willing to answer a few questions :) hi Xyz yes, using I am actively using gnue and willing to answer questions :) nice :) what kind of buissniss are you managing with it? am i right you're from austria? I'm from austrian and I'm not "managing a business" with it gnue is not a turnkey business application (yet) that's got clear from the hp, bnut what as it stands now, gnue is more of a framework to develop database applications ... but what's not clear: what can you actually do with it? ok I am currently running 2 gnue based applications which kind of? first one is a hotline management system when a customer calls me, I enter the customer name and some notes about his question and the system also records start and stop time at the end of the month my gnue application exports some data via gnue-reports that I import in my invoicing system to create invoices like "question on how to do foo --- answer by Reinhard Müller -- 0.65 hrs. -- $$$" ok... i see the second one is much more complex and *way* more cool www.fsfe.org is a web portal maintained by the free software foundation europe you can register online, giving your name, address and some other personal data this stuff is not stored on the web server at all, but sent via encrypted mail to a database server in my cellar there a procmail rule receives the mail and runs a gnue script to enter the stuff in a database when a user pays per paypal, paypal sends an automated mail again to my db server which then via script registers the payment in the gnue database ok, maybe i have to modify my question: i there something like a project database for projects based on gnuE? on registering of the payment, gnue automatically sends another mail back to the plone site to activate the user we have a subversion module called "gnue-contrib" where people can "donate" their project to the community then there is gnue-luca and gnue-packages which is kind of "official" development for gnue based business applications luca? gnue-luca more targeted against a "KISS" approach and gnue-packages aiming at a more complete and complex solution mnemoc: yes own svn repository, like gnue-contrib ok... so i'll have a look at the subversion tree... yes and the other things you gave me I am *not* sure there is web access to gnue-luca and gnue-contrib but if you replace gnue by gnue-luca/gnue-contrib in the svn command given in the web page, it should work ok, i'll hope i find, if not i will ask :) hy reinhard. I tried http://www.gnuenterprise.org/cgi-bin/viewcvs.cgi/gnue/trunk/gnue-contrib/ but it doesn't work sorry I meant: http://www.gnuenterprise.org/cgi-bin/viewcvs.cgi/gnue-luca/ gnue-contrib works though yure: it might well be that gnue-luca isn't available with webcvs ok thanks i'll got it via svn... there it's available reinhard: is the code within the svn repository normally in a useful state, or should i use the released tgz's for playing with gnue? svn should be ok most of the time Xyz: svn *should* be usable ok... i'll try but for first contact I would recommend releases hmmm... especially because we try to match documentation with released versions and for svn there might be non-documented or even not any more correctly documented things but as for program stability, svn would be ok most of the time back to tv ok, good point... i'll get the released tgz's *** kilo has joined #gnuenterprise *** mnemoc has quit IRC *** mnemoc has joined #gnuenterprise *** reinhard has quit IRC *** jamest has left #gnuenterprise *** jcater has quit IRC hmm... does anyone know which version of interbase/firebird works? firebird 1.0.3 does not... it has no datatype boolean :/ o_O * mnemoc is happy with postgres we define a domain boolean DB000: ProgrammingError: (-607, 'isc_dsql_prepare: Dynamic SQL Error. SQL error code = -607. Invalid command. Specified domain or source column BOOLEAN does not exist. ') in which version? can we talk about this tomorrow i was just to go to bed 0130 am... ok... time for bed... you're right :) are you guys ever sleep or what? :) ok night then ok.. good night... *** kilo has left #gnuenterprise *** Xyz has quit IRC *** jcater has joined #gnuenterprise *** dsmith-lt has joined #gnuenterprise *** sjc has quit IRC *** dsmith-lt has quit IRC *** dcmwai has joined #gnuenterprise *** SachaS has left #gnuenterprise *** dcmwai has quit IRC *** dcmwai has joined #gnuenterprise *** dcmwai has quit IRC *** holycow has joined #gnuenterprise *** sacha_ has left #gnuenterprise