<--tvon|x31 has quit ("Leaving") | 00:05 | |
---Disconnected (). | 00:16 | |
**** ENDING LOGGING AT Wed Dec 1 00:16:31 2004 | ||
**** BEGIN LOGGING AT Wed Dec 1 12:29:24 2004 | ||
-->You are now talking on #schooltool | 12:29 | |
---Topic for #schooltool is http://schooltool.org | 12:29 | |
---Topic for #schooltool set by Aiste at Mon Oct 18 12:47:26 2004 | 12:29 | |
---pere_poff is now known as pere | 12:41 | |
---SteveA is now known as SteveA|lunch | 15:43 | |
<--tvon|x31 has quit ("Leaving") | 16:22 | |
-->tvon|x31 (tvon@dsl093-119-225.blt1.dsl.speakeasy.net) has joined #schooltool | 16:23 | |
-->jinty (~jinty@212.145.79.86) has joined #schooltool | 16:58 | |
---SteveA|lunch is now known as SteveA | 17:09 | |
-->alga (~alga@ctv-217-147-37-242.vinita.lt) has joined #SchoolTool | 17:10 | |
jinty | POV: can we continue our discussion on locales? I am would like to make sure of some things. | 17:22 |
---|---|---|
pere | jinty: anything I can answer about locales? | 17:51 |
jinty | Dunno, more of how the locales work in schooltool. It appears to me that the first locale is the | 17:53 |
jinty | sorry - | 17:54 |
jinty | that the ordering of locales in the config file is important | 17:54 |
jinty | and that the first locale is the primary, with the others as bakups (for translations) | 17:55 |
th1a | jinty: Do we need both the schooltool and schoolbell source tgz's on the release page? Shouldn't we just have one? | 17:55 |
jinty | th1a: Fine with me - the schoolbell.tar.gz is just a subset of the schooltool.tar.gz | 17:57 |
th1a | OK. | 17:57 |
jinty | It was just about differentiation of schoolbell and schooltool. | 17:58 |
th1a | Getting pyOpenSSL going on Windows is proving to be a pain. There wasn't a Python 2.3 binary on the SourceForge site, but I eventually found one, after trying unsuccessfully to get it to compile its exensions form source. | 17:58 |
th1a | So it works. | 17:59 |
jinty | great | 18:00 |
th1a | We need a little wxPython app to start and stop the server. | 18:02 |
jinty | for windows? | 18:02 |
th1a | Yeah. | 18:02 |
th1a | Well, really it should probably run as a service. | 18:03 |
jinty | Thats the way linux does it. | 18:03 |
jinty | or the deb packages . | 18:04 |
th1a | I'm not sure of the exact nature of WIndows services. How they're different from daemons. | 18:04 |
jinty | I'm also a bit lost here. | 18:05 |
th1a | Well, I'm foggy on it too. | 18:05 |
jinty | How much can the auto-installer do for windows? Is it similar to packaging? | 18:06 |
th1a | You can run things as "services" in Windows, which has some special meaning, the exact meaning is unclear to me. | 18:06 |
th1a | Basically you use the py2exe package with setup.py to create a static .exe, and then it is pretty simple to make an installer using a utility. | 18:07 |
th1a | SchoolTool is more complicated than the apps I've done this with before, but it shouldn't be too hard. | 18:08 |
th1a | And then there's the whole "running as a service" thing we don't grok at all. | 18:08 |
*mgedmin was out lunching and just got back | 18:10 | |
jinty | A vague guess is that services are analogus to the unix services. | 18:10 |
th1a | Similar, but different! | 18:10 |
mgedmin | jinty: you are right about the ordering | 18:11 |
mgedmin | you can specify a number of languages | 18:11 |
mgedmin | A:B:C | 18:11 |
mgedmin | for every translatable string schooltool will first try to find the translation into language A | 18:11 |
mgedmin | if it is not found, it will look for B | 18:12 |
mgedmin | then C | 18:12 |
mgedmin | finally falling back to the untranslated string | 18:12 |
mgedmin | e.g. if the user knows spanish and german but no english | 18:12 |
mgedmin | (he is a native spanish speaker and only speaks german a little bit) | 18:12 |
jinty | thanks, unfortunately writing a debconf setup is much more difficult if the order is important | 18:12 |
mgedmin | and if there is a full german translation but only an incomplete spanish one | 18:13 |
mgedmin | then specifying spanish:german will result in a mixed spanish-german environment | 18:13 |
mgedmin | that is hopefully more usable than half-translated into spanish and the other half in english | 18:13 |
mgedmin | I think for debconf it would be enough to just specify a single language | 18:14 |
mgedmin | and let the user edit the config file manually | 18:14 |
jinty | also usefull if there are similar languages en_US en_ZA cone to mind | 18:14 |
jinty | if it's not done properly a dpkg-reconfigure will destroy the user changes. | 18:15 |
jinty | as the way it works is to load the config file to the debconf cache, ask the questions and the re-write it | 18:16 |
jinty | BTW: a very good default is /etc/environment where the locales package writes the default system locale | 18:17 |
mgedmin | I think debian policy absolutely insists that the sysadmin may edit config files manually | 18:17 |
mgedmin | doesn't it? | 18:17 |
jinty | yes, thats why it must be done properly. | 18:18 |
jinty | debconf must not destroy user changes... | 18:18 |
jinty | Now that I understand the problem, I'll take it to debian-mentors and see what they advise | 18:19 |
jinty | thanks | 18:21 |
jinty | I think I will commit something now that sets one default language from /etc/environment on first installation. | 18:29 |
jinty | and leaves the more difficult re-configuration problem until later. | 18:29 |
jinty | first installation - no pre-existing config file. | 18:30 |
<--jinty has quit ("using sirc version 2.211+KSIRC/1.3.10") | 18:46 | |
<--Aiste has quit (Read error: 110 (Connection timed out)) | 19:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!