I have a multi-language, multi-site, multi-domain TYPO3 (4.5) Instance where RealURL keeps me busy. In some sub-sites, I just can't get it to create the right URLs for Languages 1 and 2.
It will result in the pattern www.language-2-domain.com/language-1-pagetitle
Instead of keeping on fiddling with realurl_conf, I would like to know if/how it is possible to tell a TMENU to force use a certain language - then I could solve it with a condition.
Here's a completely normal TMENU:
lib.content_sitemap = COA
lib.content_sitemap {
5 = HMENU
5 {
wrap = <ul>|</ul>
1 = TMENU
1 {
expAll = 1
noBlur = 1
NO {
wrapItemAndSub = <li>|</li>
text = nav_title // title
}
ACT < .NO
ACT {
wrapItemAndSub = <li>|</li>
}
ACT = 1
CUR < .NO
CUR {
wrapItemAndSub = <li>|</li>
}
CUR = 1
}
}
}
Now what I could use would be something like
5.1.NO.text.sys_language_uid = 1
Is there something like that?
EDIT: I see, it's not the "text" that's concerned. Can I build the typolink in NO by hand with "doNotLinkIt" and force the language there?
This is an obvious example of "get desperate and look for hacks instead of looking at the problem after a good night's sleep".
There were inconsistencies in the RealURL Config which provoked the erroneous behaviour.
I'm posting the hopefully fully working RealURL config. It covers two single-domain/multi-language websites as well as two multi-domain/multi-language websites. That is why I use the regex on the URL.