[TYPO3-english] RealURL leaving out segment in 2 languages only

Tony Lush tlush at advancewm.com
Tue May 31 16:42:58 CEST 2011


We have a section of a web site that is leaving out part of the path 
segment in two languages -- Japanese and Chinese -- but is working 
correctly in Korean, Russian, etc. The issue shows both in breadcrumbs 
and the sr_languageselector dropdown.

In the path:
Home >> Level1 >> Level2 >> Level3 >> Current Page

The Level3 Link shows the URL to Level2 instead. The Level2 page link 
itself is correct. The multiple languages section of the site currently 
starts at Level2.

In the TS Setup we have:
#### For languages

config.linkVars = L
config.uniqueLinkVars = 1
config.sys_language_overlay = content_fallback
config.sys_language_softMergeIfNotBlank = tt_content:image, 
tt_content:header
config.language = en
config.locale_all = en_US
config.htmlTag_langKey = en-us
config.sys_language_uid = 0
[browser = msie]
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang="en"

[globalVar = GP:L = 1]
config.language = fr
config.locale_all = fr_FR
config.htmlTag_langKey = fr_FR
config.sys_language_uid = 1
[globalVar = GP:L = 1] && [browser = msie]
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang="fr"

...

[globalVar = GP:L = 15]
config.language = ja
config.locale_all = ja
config.htmlTag_langKey = ja
config.sys_language_uid = 15
[globalVar = GP:L = 15] && [browser = msie]
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang="ja"


[globalVar = GP:L = 16]
config.language = zh
config.locale_all = zh-HK
config.htmlTag_langKey = zh
config.sys_language_uid = 16
[globalVar = GP:L = 16] && [browser = msie]
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang="zh"


[globalVar = GP:L = 17]
config.language = ko
config.locale_all = ko
config.htmlTag_langKey = ko
config.sys_language_uid = 17
[globalVar = GP:L = 17] && [browser = msie]
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang="ko"

...

[globalVar = GP:L = 21]
config.language = sl
config.locale_all = sl
config.htmlTag_langKey = sl
config.sys_language_uid = 21
[globalVar = GP:L = 21] && [browser = msie]
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" 
xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang="sl"
[global]

And in the realurl config we have:

		, array(
			'GETvar' => 'L',
			'valueMap' => array(
				'française' => '1',
				'fr' => '1',
				'deutsch' => '2',
				'de' => '2',
				'nederlands' => '3',
				'nl' => '3',
				'español,' => '4',
				'es' => '4',
				'italiano' => '5',
				'it' => '5',
				'czech' => '6',
				'cz' => '6',
				'português' => '7',
				'pt' => '7',
				'swedish'=> '8',
				'sv' => '8',
				'hungarian' => '9',
				'hu' => '9',
				'polish' => '10',
				'pl' => '10',
				'turkish' => '11',
				'tr' => '11',
				'danish' => '12',
				'dk' => '12',
				'finnish' => '13',
				'fi' => '13',
				'russian' => '14',
				'ru' => '14',
				'japanese' => '15',
				'ja' => '15',
				'chinese' => '16',
				'zh' => '16',
				'korean' => '17',
				'ko' => '17',
				'croation' => '18',
				'hr' => '18',
				'greek' => '19',
				'el' => '19',
				'bulgarian' => '20',
				'bg' => '20',
				'slovenian' => '21',
				'sl' => '21'				
			),
			'noMatch' => 'bypass',

Can someone suggest how I could further troubleshoot this issue?

Thank you -- Tony


More information about the TYPO3-english mailing list