/srv/irclogs.ubuntu.com/2008/07/29/#ubuntu-website.txt

sistohi01:26
mase_slaptping Volans12:19
Volansmase_slapt: pong :)12:19
mase_slaptVolans: internationalisation question for you12:20
mase_slaptsay i set my browser to cp-1251 (cryillic) and i make an http request to an apache server12:21
mase_slaptwhen i get the data in python/php12:21
mase_slaptwhat charset does apache give it to me in ?12:22
mase_slaptis the HTTP_ACCEPT_CHARSET accurate ?12:22
mase_slaptor is that just what the browser is willing to accept12:23
Volansgood question... I'm trying now and seems that the browser choice is only local, you can change the encoding of the loaded page, but I think it don't send to the server the encoding12:25
Volansif you want I have a test page12:25
Volansand I found always: [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.712:26
Volansno matter what encoding I have set in FF212:27
Volansmase_slapt I think that HTTP_ACCEPT_CHARSET is not the good place to see, because the charset is overwitten by the HTTP response, with the  Content-Type12:29
Volansor with the default charset of apache configuration12:30
mase_slapthmm that is also my experience.12:32
mase_slaptthanks12:33
Volansand in an international content maybe use utf-8 is the best choice12:33
Volanss/content/contest/12:33
mase_slaptyeh i am trying to12:34
mase_slaptbasically trying to write validation routines12:35
mase_slaptso that i get content in say $_GET / $_POST under PHP, and i can remove things like null bytes etc... that don't do anything12:35
mase_slaptcept null bytes are easy12:35
mase_slaptUTF-8 control chars are hard.12:35
mase_slaptgotta make sure the content is UTF-8 first12:36
Volansdepends on how you use the data after... save to a DB, print into the page, etc...12:36
mase_slapterm yeh but i already have that stuff covered....provided its in UTF-812:37
mase_slaptgetting there is proving tricky/12:37
mase_slaptwell reliably anyway12:38
mase_slapthmm kubuntu seems to have resumed for the first time ever!12:42
mase_slaptrock on12:42
Volanslol12:43
Volansryanakca: ping12:43
emunkkimase_slapt, resumed for what?12:45
mase_slaptfrom suspend / hibernate12:45
mase_slapti ran out of battery12:46
emunkkia-ha12:46
mase_slaptit went to sleep, of some sort12:46
mase_slaptand came back12:46
mase_slaptit's a miricle12:46
mase_slaptmiracle*12:46
mase_slaptsomething =)12:46
emunkkianyway for websites + kubuntu12:46
emunkkiryanakca asked me if i could do some work with the kubuntu start page etc.12:46
Volansoh good! you want to make a similar version for K or a completely different page?12:48
Volans(we still don't know what kind of page we will do)12:48
emunkkifor K?12:48
Volansyes12:48
emunkkihttp://emonk.fi/work/kubuntu/kubuntu_startpage_mockup_2.png12:48
Volansfor Kubuntu12:48
emunkkihere's my current mockup12:48
Volansgreat, only a question... how about localization?12:49
emunkkiwhat about it?12:49
Volansthe Ubuntu start page is made in every Ubuntu localization12:50
emunkkiyes?12:50
Volansand there are 2 different start page, the online version and the offline one12:50
Volanssure12:50
Volanshttp://start.ubuntu.com/8.04/ is localized based on the browser language12:50
emunkkiyes sure12:50
emunkkiwe're not yet in that stage anyway12:50
Volansand in file:///usr/share/ubuntu-artwork/home/ you can find all the offline versions12:50
Volansthe text is translated by the doc team12:51
Volansso for intrepid a english only version and maybe for intrepid+1 the full localized one?12:51
emunkkiif only the backend supports l10n, there's no problem12:51
emunkkidon't know if i will be responsible for the backend12:52
emunkki(or to be more exact, if i have the time for it)12:52
mase_slaptVolans: so the doc team didn't go with your proposal ?12:52
Volansmase_slapt: I was telling the actual situation12:53
mase_slaptignore me then :)12:53
VolansI'm waiting that the two Matt (news and mdke) will ask the Doc Team12:53
Volansbut also with our proposal the translation will be made by the doc team, through launchpas12:53
Volans*launchpad12:53
Volansemunkki: with backend you tell the text part of the page?12:54
emunkkiVolans, well the backend loads the l10n from somewhere depending on the locale12:54
emunkkiit doesn't have anything to do with the theme12:54
Volanswait... this is possible for the offline version... for the online version actually I know that there is one page for each locale12:55
Volansstatic pages12:55
emunkkignaa12:55
emunkkiwell then it will be a job for the l10n teams12:56
Volansbut the trick is that the text of the online and offline version is the same12:56
emunkkii can write a script which search for l10n file for every l10n12:56
Volansfor kubuntu?12:56
emunkkifor the online page12:57
emunkkior the offline12:57
emunkkidoesn't really matter12:57
emunkkiit's *really* easy12:57
VolansI know! at the moment I have suggested to change a little the management of the whole process to simplify it12:58
emunkkisounds good.12:59
Volansthe requirement of static pages for the online version for Ubuntu is due to the fact that the server that serve those pages is a static-content server as news have tell us12:59
emunkkid'oh12:59
Volansbut the problem is not so simple because involve many teams, the doc team, the canonical guys, etc...13:00
emunkkiwell then make a script to run whenever a l10n team updates/adds translation13:00
emunkkiand upload new files13:00
VolansI know that there is a python script that "create" all those pages based on the offline version that is translated by the doc team13:00
emunkkiok13:00
Volansbut I will put the project in a more simple way with regular .po files in order to use launchpad for the translation with all their features13:01
emunkkiso the theme should just be a layout with replaceable "variable spots"13:01
Volans/I will/I would/13:01
emunkkior?13:01
Volansexactly13:01
emunkkiok13:01
emunkkithat's not a problem13:02
Volansthe most big problem is not technical in this case...13:02
emunkkiif somebody can come up with documentation13:02
emunkkior sth13:02
emunkkithat i know what i should do13:02
Volanssure, will be good!, I think in the meanwhile you can understand for Kubuntu who is in charge to decide what to put in the start page...13:03
Volanswe are trying to do that in Ubuntu.... :)13:03
Volansand is still not really clear13:03
emunkkiwell i think ryanakca does that for kubuntu13:04
emunkkidon't really know13:04
Volansask him when come back ;)13:06
Volansnow I have to go to lunch... see you later...13:06
emunkkiyeah13:06
Volansbye bye13:06
emunkkibon appetit13:06
ryanakcaVolans: pong18:06
VolansHi ryanakca, I see that the site is already not updated with the fix...18:07
Volansyou don't have server access?18:07
ryanakcaVolans: Nope18:08
Volanshave you already ask for that? :)18:08
ryanakcaasked for server access? Nope. But I don't think they would even if I asked... they might give it to Riddell though18:09
Volansotherwise you can use bzr  from the official bzr branch on the server and ask the sysadmins to put in cron an automatic update one time a day or so (checking if there is any update available)18:10
Volans;)18:10
Volansjust a suggestion18:10
ryanakcaI think it's because they want to review everything that goes onto their servers... I haven't really been around long enough to be really trusted, and there would be nothing to prevent me from sticking some malicious js on their servers... I'd do the same in their place...18:11
ryanakcabut Riddell is an employee, I'll ask him if he could ask to get write access...18:12
Volansa user access only to the site files can't compromise the server security, of course can do that with the site, but if you are maintaining that site is normal :)18:13
jpdsryanakca: Riddell has access.18:15
Volansok good.. so you can ask him when you have to upgrade18:16
ryanakcajpds: odd, he just said he didn't and probably couldn't get access :)18:16
jpdsryanakca: kubuntu.org/~jriddell ?18:16
ryanakcajpds: dunno, *shrug*18:16
jpdsHe was the one who commited my patches for the old site.18:17
Volansnewz2000: Hi, any news for the start page? (I will not be online for the next 24 hours or so)22:44
alefterisnewz2000, do you have a few minutes to update the forums list page at the drupal site? can I point you to lp bugs?23:02
VolansHi alefteris23:03
alefterishello Volans23:04
VolansI have noticed newz2000 yesterday and put in the last similar bug all the links to the others23:04
Volanssee my commento on the bug 25236923:05
ubot3`Malone bug 252369 in ubuntu-website "Community web forums page should include Hebrew forums" [Undecided,Confirmed] https://launchpad.net/bugs/25236923:05
Volansiirc he told me that probably he will do it today...23:06
alefterisVolans, thanks for the info :)23:06
Volansmy pleasure :)23:07

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