[gcompris-devel] Web site test

Frederico Goncalves Guimaraes frederico at teia.bio.br
Fri Jul 29 21:58:22 UTC 2011


Hi Bruno and others,

Consta no registro BC22375 do Livro da Grande Teia que
Bruno, em 22/07/11 escreveu o seguinte:

> I just changed the entry page at http://gcompris.net so that I detect
> the preferred language from the user's browser and redirect to the
> proper page.
> 
> Please have a test and let me know if this does not work as expected
> for your locale.

The redirection is working for pt-br, but, it's sending me to a blank
page. The locale test page shows this to me:

Your Browser accepted languages: pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3
What I understood: Array ( [0] => pt-br [1] => pt [2] => en-us [3] =>
en ) You would be directed to: http://gcompris.net/-pt_br-

After some tests I found the problem. It's on generated URL. It's
sending me to http://gcompris.net/-pt_br-, which is a blank page, but
if I change the URL to http://gcompris.net/-pt-br- it works. Would you
please fix it, Bruno?

Regards,


Frederico
-- 
Linux User #228171
Sítio pessoal: http://teia.bio.br
Software Livre Educacional: http://sleducacional.org

"Liberdade, essa palavra que o sonho humano alimenta, que não há
ninguém que explique e ninguém que não entenda." (Cecília Meireles)




More information about the Gcompris-devel mailing list