svewap/realurl_404_multilingual — pull request #2 by vjanoch (2013-07-08 16:05:52+00:00)
Title: Fix to work without the language key of the default language within the URL.

Without this fix the language key has to be a part of the URL in any case.

1. Setup:
---------
...
// Language configuration
array(
"GETvar" => "L",
"valueMap" => array(
// id"s need to line up with Website Language Ids in TYPO3
// "de" => "0", // Do not configure the default language here. It generates the default language to be in the URL like /de/... . That means doublicate Content as well.
"en" => "1",
),
"valueDefault" => "de",
"noMatch" => "bypass",
),
...

2. Setup:
---------
...
// Language configuration
array(
"GETvar" => "L",
"valueMap" => array(
"de" => "0",
"en" => "1",
),
"valueDefault" => "de",
"noMatch" => "bypass",
),
...

The fix should work for both setups.