=== jpds_ is now known as jpds [14:09] hi, lets do a test on this language thing… can someone here who has their browser's lang preference set to something other than English tell me what their lang is? [14:09] hey newz2000 [14:09] hey cjohnston [14:10] getting some good feedback [14:10] yeah, talking to sysadmin about possible solutions to this [14:12] I was wondering after reading all the python things if maybe there could be a python translation of the website based on the lang pref [14:16] ok, just had an off-the-record discussion with one of the sysadmins [14:16] he prefers the static content and apache content negotiation approach [14:16] uh oh [14:17] cjohnston: see this: [14:17] http://people.canonical.com/~mnuzum/tmp/cn/ [14:17] and then this: http://people.canonical.com/~mnuzum/tmp/cn/file.js [14:18] if you prefer english, the second link should say "en" for lang [14:18] german would be de and french fr [14:18] ok.. [14:18] This will be quite easy to manage in launchpad too [14:19] I will open a ticket to get formal approval and hosting resources for it [14:19] ok.. [14:20] can you subscribe me (if its an LP ticket) [14:20] it's not an LP ticket but I'll cc you [14:20] ok [14:20] ty [14:33] cjohnston: do you understand what's goign on with this? [14:33] not really.. [14:34] It's a cool feature built into apache called content negotiation [14:34] it checks the user's preferences (sent as headers to the server) and can send different responses back based on those headers [14:35] So if your browser prefers german (de) then when you request this file: http://people.canonical.com/~mnuzum/tmp/cn/file.js [14:35] it will see if file.js.de is there, and if so, send it [14:35] ok.. [14:36] so will this still do the little 5 word link thingie? [14:36] yes, and it will have multiple benefits [14:36] ok.. [14:36] because there is one js for each language, there is no need for complex js that decides what the user's language is and responde differently [14:37] so each js file is responsible for simply showing a link. It could be as simple as: [14:37] ok.. [14:37] seems to me that this would make the tech side a thousand times easier? [14:37] document.write('German Help'); [14:37] yes [14:37] also, there's not really any dyanmic content [14:37] right [14:37] it's static files, which makes the sysadmins mucho happier [14:38] :- [14:38] :-) [14:38] and, translations are easier, because there are just a few strings defined in the js file, managed ina bzr branch [14:38] do you have a little bit of free time later? [14:38] your best chance at free time today is right now [14:38] ok.. [14:38] but if you're busy we can try to meet up later on [14:38] so.. with these changes.. what do we need as far as outside help [14:39] still need some technical decisions [14:39] nah.. i can talk now.. the other can wait [14:39] would like to see what the community says for js. My simple example may not be flexible enough [14:40] we need a bzr branch and a launchpad project [14:40] and we need localization [14:40] we already have the project [14:40] and the sysadmins need to say "yes" to this and provide the resources [14:40] ok.. [14:40] (that's it) [14:40] cool [14:41] can you when you get time (if you havent already) reply to the list about this way of doing it (i dont understand it well enough to do that) and see what they say [14:41] please [14:43] ok. [14:43] ty [14:47] need to work on school.. ping if ya need me [14:47] ok, I think we're good here === thorwil_ is now known as thorwil [21:56] newz2000: any idea if they will reply to all when they reply to your ticket?