For the past few days I've been stuck with creating a PHP-based multilingual website. I've tried a great deal of solutions but had no luck so far.
This is how I would like my URL's to look:
http://www.example.com/en/about
http://www.example.com/cs/o-nas
etc.
I've been using this rewrite rule BEFORE I decided to implement multilingual support and it worked just fine:
RewriteBase /kittytea/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_-]+)$ ?page=$1 [L]
My links look like this:
<a href="about">
Has anyone got an idea how to add the multilingual support? I'm familiar with passing URL parameters using the GET method.
I might add that I'm using a simple PHP SWITCH statement for loading individual website sections.
PS - It's a very small website and I don't need a top notch solution. I just want to make it work :)
Thanks!