I18N version 1.8:
You need to specify a permalink structure in the website settings in the admin settings and include the placeholder %language%, e.g.:
Additionally you need to modify the rules in your root .htaccess file, e.g. (above permalink structure, english and german languages):
Be aware that if a page does not exist in the requested language, the next best language is used and the language in the URL and the actual language will differ.
- supports now URLs with the current language
You need to specify a permalink structure in the website settings in the admin settings and include the placeholder %language%, e.g.:
Code:
%language%/%parent%/%slug%/
Code:
...
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(en|de)/(.*?/)?([A-Za-z0-9_-]+)/?$ index.php?id=$3&lang=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
Be aware that if a page does not exist in the requested language, the next best language is used and the language in the URL and the actual language will differ.