Christian Ridderström a écrit :
On Wed, 7 Oct 2009, Jean-Marc Lasgouttes wrote:
Jean-Pierre Chrétien <[email protected]> writes:
Is there a way to display the French pages if the browser is
French-speaking ?
I have proposed this in the past, but Christian was not sure he wanted
it. I still think we should (at least for languages that are considered
to be complete enough)
By now I've forgotten any objections I might have had, so for me it's
fine. Of course, I've also completely forgotten how this would be
implemented... I'm rather busy so if either you do it, or I'm given
some algorithm.
AFAIR, needs directives on the server side.
LyX pretends that the server name is none of my business :-(
If it's Apache, language negotiation may be on by default:
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage he .he
...
but the mechanism does not seem compatible with pmwiki, as it requires
pages in different languages to have suffices like .fr, .de, etc.
I guess that this was the problem that raised objections from you at the
time. Forget about my suggestion.
--
Jean-Pierre