*** gintas has quit IRC | 00:11 | |
*** Aiste has joined #schooltool | 00:14 | |
*** hazmat has quit IRC | 00:44 | |
*** tvon has joined #schooltool | 00:57 | |
*** hazmat has joined #schooltool | 01:04 | |
*** hazmat has quit IRC | 01:17 | |
*** tvon has quit IRC | 01:28 | |
*** hazmat has joined #schooltool | 02:09 | |
*** hazmat has quit IRC | 02:44 | |
*** hazmat has joined #schooltool | 02:46 | |
*** hazmat has quit IRC | 03:55 | |
*** hazmat has joined #schooltool | 03:56 | |
*** hazmat has quit IRC | 04:17 | |
*** hazmat has joined #schooltool | 06:19 | |
*** hazmat has quit IRC | 06:57 | |
*** Aiste has quit IRC | 09:29 | |
*** hazmat has joined #schooltool | 10:14 | |
*** hazmat has quit IRC | 11:06 | |
*** thisfred has joined #schooltool | 12:36 | |
*** Aiste has joined #schooltool | 13:10 | |
*** bskahan has joined #schooltool | 14:40 | |
*** ignas has joined #schooltool | 15:49 | |
*** th1a has joined #schooltool | 18:08 | |
*** gintas has joined #schooltool | 18:48 | |
gintas | th1a, ping | 18:48 |
---|---|---|
th1a | gintas: Hi | 18:49 |
gintas | hi | 18:49 |
*** th1a is now known as th1a|PyUK | 18:49 | |
gintas | how's it going? | 18:49 |
th1a|PyUK | I just got in my room a little while ago. I need a nap. | 18:49 |
gintas | I wanted to clarify one bit about i18nalization | 18:50 |
gintas | I'll be quick | 18:50 |
th1a|PyUK | Do you know when mgedmin's flight is/was? | 18:50 |
gintas | I'm not sure | 18:50 |
gintas | Aiste probably knows | 18:50 |
th1a|PyUK | Oh. I have an email from him. | 18:50 |
Aiste | th1a|PyUK: he shoud be in Oxford around 2000 | 18:51 |
Aiste | local time | 18:51 |
gintas | I'm having some difficulties with the i18nalization of the main.py script | 18:51 |
th1a|PyUK | What's the problem? | 18:52 |
gintas | thing is that during startup some of the translation utilities are not set up (those are parts of Zope) | 18:52 |
gintas | and the config file is read not too early | 18:52 |
gintas | I wonder if translating the schoolbell.main script is all that important | 18:53 |
* th1a|PyUK knows extremely little about how i18n actually works. | 18:53 | |
gintas | I don't want to implement gettext stuff just for a few usage strings during startup | 18:53 |
th1a|PyUK | I see. | 18:53 |
th1a|PyUK | Let's not get hung up on little details. | 18:53 |
gintas | there is one important thing that needs to be translated | 18:54 |
gintas | the default titles for some users and groups | 18:54 |
gintas | and I'm a bit uncomfortable about this one actually | 18:54 |
gintas | these are created when the database is initially constructed | 18:54 |
* bskahan perks up | 18:55 | |
gintas | so if you create a database and configuration is the default, and the locale is English, you will get English titles for the basic users and groups | 18:55 |
gintas | thing is that the database is created implicitly (when the server can't find it) | 18:56 |
th1a|PyUK | That seems like a more serious problem. | 18:56 |
bskahan | those ids will go in URLs too, so there's some encoding issues | 18:56 |
gintas | i.e., you start the server, find out that strings are in English | 18:56 |
gintas | then find out that your locales are misconfigured | 18:56 |
gintas | restart the server, everything works fine in your language, but the groups initially created are still English | 18:57 |
bskahan | was this handled previously in schooltool? | 18:57 |
gintas | you would have to either manually rename them or delete the database by hand (which I don't think can be expected from an ordinary user) | 18:57 |
gintas | I don't remember right now | 18:58 |
gintas | but I think we had a similar situation | 18:58 |
gintas | perhaps noone gave it much thought | 18:58 |
gintas | maybe it isn't a significant problem, I just wanted to point out that it exists | 18:58 |
th1a|PyUK | It sounds like a bug to me. | 18:59 |
gintas | well, it's somewhat inconsistent with the rest of the system | 19:00 |
gintas | I suppose we could do some magic, change strings if they have not been changed by the user, etc. | 19:00 |
gintas | but I can't think of a neat solution | 19:01 |
th1a|PyUK | This is a little beyond me, especially without sleep. It does sound like a hackish solution will be required. | 19:01 |
gintas | anyway, what about the first part; is it important to translate things such as command-line help? | 19:01 |
gintas | OTOH, maybe that's not so hard to do | 19:03 |
bskahan | ideally the command line help transaltion wouldn't be based on the site preference but on the machines locale | 19:04 |
gintas | bskahan, that's the case | 19:04 |
gintas | another question: should console output be in the machine's locale or in the language specified in the config file | 19:04 |
bskahan | console output should be in the machine's locale | 19:05 |
gintas | (btw., the default config language setting is 'auto', which means "according to user's browser settings", which I think is cool, but cann't work during server startup) | 19:05 |
gintas | bskahan, ok, that seemed sensible for me too | 19:06 |
bskahan | ouch | 19:06 |
gintas | bskahan, what? | 19:06 |
bskahan | auto would be ideal | 19:06 |
gintas | what do you mean? | 19:07 |
bskahan | not being able to use it would be unfortunate | 19:07 |
bskahan | the language setting being "according to browser setting" | 19:07 |
bskahan | is ideal | 19:07 |
gintas | oh | 19:07 |
gintas | then perhaps we don't need a configuration setting for it at all? | 19:08 |
bskahan | parents accessing the site who's first language isn't common to the school would probably appreciate that | 19:08 |
gintas | I suppose so | 19:08 |
bskahan | I figure within most schools one language would be prevelant (if not even mandated) | 19:09 |
* th1a|PyUK is going back to sleep. | 19:10 | |
bskahan | gintas: I'm not really sure, the only use case I can think of for the browser setting taking precedence is for parents | 19:11 |
bskahan | but I live in a place where all official business is in one language and we have an unhealthy attitude towards bilingual education | 19:11 |
gintas | ok then, it stays | 19:14 |
bskahan | I'm curious about the right way to create "teacher" and "student" groups in schooltool | 19:15 |
bskahan | since it hadn't even occured to me that they need to be trnslated | 19:16 |
bskahan | /groups/seccións wouldn't work in IE | 19:18 |
gintas | good point | 19:24 |
gintas | but it would URLencoded | 19:24 |
gintas | so I don't think there's a problem | 19:24 |
gintas | the URLs would look a bit messy though | 19:24 |
gintas | I'd prefer nice HTML pages to nice URLs | 19:26 |
*** hazmat has joined #schooltool | 19:46 | |
* bskahan nods | 19:48 | |
*** gintas has quit IRC | 19:48 | |
*** tvon has joined #schooltool | 19:50 | |
*** tvon has quit IRC | 20:05 | |
*** tvon has joined #schooltool | 20:15 | |
*** Aiste has quit IRC | 20:36 | |
*** bskahan has quit IRC | 20:51 | |
*** thisfred has quit IRC | 20:52 | |
*** gintas has joined #schooltool | 21:38 | |
*** tvon|x31 has joined #schooltool | 21:53 | |
*** tvon has quit IRC | 21:54 | |
*** gintas has quit IRC | 21:56 | |
*** tvon|x31 has quit IRC | 22:04 | |
*** alga has joined #SchoolTool | 22:07 | |
*** ignas has quit IRC | 22:08 | |
*** Aiste has joined #schooltool | 23:23 | |
*** alga has quit IRC | 23:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!