We will need to add this for each language that its fully translated in the wiki
RewriteCond %{HTTP:Accept-Language} ^fr.*
RewriteRule ^/wiki/(.*)$ /wiki/$1_FR [R,L]
So mainly, if any request is done by a browser that accepts FR language, rewrite the url to whatever it was + the language termination that we want.
The only downside is that we needed to manually add the languages...
What do you guys think ?!
Paulo
On 6/27/07, Dimitris Glezos <dimitris@xxxxxxxxxx> wrote:
O/H Ville-Pekka Vainio έγραψε:
> I had a chat about this on #moin-dev yesterday evening. The Moin multilang
> implementation works as wikifarms, so that you have en.wiki.tld, de.wiki.tld
> etc. and it links the same pages in those wikis together. This also means
> that you need to have the same page names in all wikis, so they can't be
> localized.
Is there any other way to do it besides wikifarms? For example, by putting on
the header of the english page links to all others and from all others to the
english one (ie choose a language as the wiki's "main" lang)?
-d
--
Dimitris Glezos
Jabber ID: glezos@xxxxxxxxxx, GPG: 0xA5A04C3B
http://dimitris.glezos.com/
"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)
--
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list