[TYPO3-english] cooluri localization

Jan Bednarik info at bednarik.org
Fri Apr 8 08:06:41 CEST 2011


Hi,

The thing it, that L parameter with 0 value is not added into URL, so 
the valuemap for L parameter is not even processed.

You need to make sure that TYPO3 adds this L parameter to all URLs or 
you have to subclass class.tx_cooluri.php::params2cool with your class 
that would add this L parameter and then call parent::params2cool.

Regards

Jan

Dne 8.4.2011 8:07, Ullmann d.o.o. napsal(a):
> Sorry, I forgot to ad some things :)
> Thank you!
>
> In the cooluriconf:
> 	<valuemap>
> 		<parameter>L</parameter>
> 			<value key="en">0</value>
> 			<value key="de">1</value>
> 			<value key="fi">2</value>
> 			
>      </valuemap>
>
>
> The template setup:
>
> # Localization:
> config {
> linkVars = L
> sys_language_mode = content_fallback
> sys_language_overlay = 1
> sys_language_uid = 0
> language = en
> locale_all = en_EN
> }
>
> [globalVar = GP:L=0]
> config {
> sys_language_uid = 0
> language = en
> locale_all = en_EN.UTF-8
> }
>
> [globalVar = GP:L=1]
> config {
> sys_language_uid = 1
> language = de
> locale_all = de_DE.UTF-8
> }
>
>
> [globalVar = GP:L=2]
> config {
> sys_language_uid = 2
> language = fi
> locale_all = fi_FI.UTF-8
> }
>
>



More information about the TYPO3-english mailing list