Re: Konqueror's language identification and KDE 4.1.2

2008-10-05 Thread Juerg Schneider
Am Freitag, 3. Oktober 2008 schrieb DVW:
> 1. Konqueror does not load the correct language version of a web
> page My system is configured in Spanish (locales and KDE), but, for
> example, when visiting http://www.debian.org, while Iceweasel
> correctly loads the spanish version of the debian website Konqueror
> always loads the american one. I don't really know if it's a bug in
> Konqueror, in the Debian package, or I'm just missing something.

I've this in openSUSE also. I think this is a battle between konqueror 
and www.debian.org (and some other sites). From wireshark:

Konqueror (3.5.10):
Accept-Language: de_CH,de,en\r\nloads english

Firefox:
Accept-Language: de-ch,de;q=0.8,en-us;q=0.5,en;q=0.3\r\n  loads german

Any way, I think the underscore is false. It should be de-CH. I've 
played around but I couldn't break the secret (sorry for the long lines):

$> for i in de de-ch de,en en,de de,en\;q=0.5 de-ch,en\;q=0.5 
de-ch,de,en\;q=0.5 de-CH\;q=0.7,en\;q=0.3; 
>   do echo -n "Accept-Language: $i   ";  
>   curl -s --header "Accept-Language: $i" http://www.debian.org | grep "html 
> lang"; 
> done
Accept-Language: de   
Accept-Language: de-ch   
Accept-Language: de,en   
Accept-Language: en,de   
Accept-Language: de,en;q=0.5   
Accept-Language: de-ch,en;q=0.5   
Accept-Language: de-ch,de,en;q=0.5   
Accept-Language: de-CH;q=0.7,en;q=0.3   
$>
$> for i in es,en-US,en es,en-US,en\;q=0.5 es,en\;q=0.5 
es\;q=0.7,en-US\;q=0.5,en\;q=0.3 es\;q=0.7,en\;q=0.3;
>   do echo -n "Accept-Language: $i   ";
>   curl -s --header "Accept-Language: $i" http://www.debian.org | grep "html 
> lang";
> done
Accept-Language: es,en-US,en   
Accept-Language: es,en-US,en;q=0.5   
Accept-Language: es,en;q=0.5   
Accept-Language: es;q=0.7,en-US;q=0.5,en;q=0.3   
Accept-Language: es;q=0.7,en;q=0.3   
$>

According to 
http://www.konqueror.org/faq/#IsthereawaytochangethedefaultAcceptCharsetAcceptLanguageHTTPheadersinkonqueror
for http this is set in $KDEHOME/share/config/kio_httprc.

Regards

Juerg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Konqueror's language identification and KDE 4.1.2

2008-10-05 Thread Modestas Vainius
Hi,

šeštadienis 04 Spalis 2008, DVW rašė:
> Yes, I knew all that you said about tagging a release and such. I was just
> a little surprised there were no official announcement befores packages
> were available or at least at the same time, more or less.
That's because KDE 4.1.2 release was delayed from the original plan by a few 
days.

-- 
Modestas Vainius <[EMAIL PROTECTED]>



signature.asc
Description: This is a digitally signed message part.


Re: Re: Konqueror's language identification and KDE 4.1.2

2008-10-04 Thread DVW
Yes, I knew all that you said about tagging a release and such. I was just a 
little surprised there were no official announcement befores packages were 
available or at least at the same time, more or less.

Thanks for your answer anyway, :).

Saludos.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Konqueror's language identification and KDE 4.1.2

2008-10-03 Thread Alejandro Exojo
El Viernes, 3 de Octubre de 2008, DVW escribió:
> 2. As I've just said, I'm using KDE 4.1.2. Yesterday I checked the repos
> since I knew 4.1.2 release was planned for 1st of October. Well I upgraded
> and such but I'm a bit surprised there's not even an annoucement in KDE's
> website nor any blog, news, etc, concerning this new release. What's going
> on? Is KDE 4.1.2 really out or the packages in the Debian repos are SVN or
> something like that?

The announcement has arrived about an hour ago to the kde-announce list.

Why you saw the packages first? Well, because KDE is such a great project. 
When KDE tags a release, the announcement is done more or less a week later. 
In that time, tarballs are prepared, tested, and released to the packagers 
(only). During that time the packagers have time enough to prepare the 
binaries and upload them.

This also gives time to translators to work on the announcement, etc. 

IMHO, this is something that A LOT of projects do very very badly. Is really 
frustrating seeing that a major release of a software is released, and that 
you just can't even take a look at it because is not packaged, not 
translated, modules/plugins are not ported, etc.

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Konqueror's language identification and KDE 4.1.2

2008-10-03 Thread DVW
A couple of questions for you, nice Debian guys, :D


1. Konqueror does not load the correct language version of a web page
My system is configured in Spanish (locales and KDE), but, for example, when 
visiting http://www.debian.org, while Iceweasel correctly loads the spanish 
version of the debian website Konqueror always loads the american one.
I don't really know if it's a bug in Konqueror, in the Debian package, or I'm 
just missing something.
When I check the language information box in Konqueror's preferences (and I 
suppose this is just something concerning to Konqueror, not the debian package) 
Konqueror adds "en_US, en" to my language browser identification. Shouldn't it 
be only "es"? I know that adding English is in case no pages were available in 
the user's especified language, but might it be the reason of the incorrect 
language loading?
I tried this (http://www.debian.org/intro/cn#howtoset) without any result. 
Should I remove "en" from this file?
And is there any way I can get rid (not me, actually, but my girlfriend, she 
speaks Spanish, Catalan, Italian and some German, but not a word in English) of 
the "American Empire's language" in Konqueror?

I'm using KDE and Konqueror 4.1.2 for amd64, but it happened with 4.1.1 as well.


2. As I've just said, I'm using KDE 4.1.2. Yesterday I checked the repos since 
I knew 4.1.2 release was planned for 1st of October. Well I upgraded and such 
but I'm a bit surprised there's not even an annoucement in KDE's website nor 
any blog, news, etc, concerning this new release.
What's going on? Is KDE 4.1.2 really out or the packages in the Debian repos 
are SVN or something like that?


Thanks and regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]