[Qgis-developer] help menu - link to new documentation site always to english version

Paolo Cavallini cavallini at faunalia.it
Mon Sep 2 23:06:45 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 03/09/2013 07:10, Richard Duivenvoorde ha scritto:

> Coming from QGIS you want to go the the language QGIS is used at that moment:
> 
> http://docs.qgis.org/2.0/html/{LANGUAGE}/docs/user_manual/
> 
> while for the browser we can hopefully in the future just detect and remember the
> current locale (and be remembered via the browser).

why not just using user-agent and apache rewrite?
something like:

    RewriteEngine on

    RewriteCond %{HTTP:Accept-Language} ^it [NC]
    RewriteRule ^/$ https://www2.faunalia.eu/it/ [L,R=301]

All the best.
- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlIlfHUACgkQ/NedwLUzIr4XEQCePCH7+0gzpY9Jhnmbo8w9319N
KnMAnj/oFUglzbDiEQzDxxj67o6cQ/6D
=a9QK
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list