Writing Languages in the URLs In the format: (lang).website.com (like wikipedia)
<p>I though that Wikipedia uses a nice way of writing languages in their URLs:</p>

<pre><code>http://en.wikipedia.org/wiki/Main_Page
http://de.wikipedia.org/wiki/Main_Page
http://fr.wikipedia.org/wiki/Main_Page
</code></pre>

<p>(where the language precedes the website name)</p>

<p>Is there any way to write the language like this or is it very complex, like a page for every language? I would really love to have this passed as a parameter which I can then use for setting the language of the content.</p>

<p>I've been looking into some httpd stuff which includes AddLanguage like Wikipedia does, but I don't understand how it works or what it does.</p>

<p>I'm not very experienced with httpd nor PHP so there might be a better method of doing this. </p>

<p>I would appreciate any help :)</p>
