[TYPO3] Force Language and L-parameter
Bernd Wilke
t3ng at bernd-wilke.net
Tue Nov 21 14:35:28 CET 2006
"Søren Schaffstein" <soeren.schaffstein at media-lights.de> schrieb im
Newsbeitrag
news:mailman.1.1163755623.13504.typo3-english at lists.netfielders.de...
> Thanks for this idea as well,
> but it doesn't help either. I am on a page where menus and other template
> generatd stuff exists. Clicking on a menu item must take me to the correct
> language version of that page.
>
> So: there must be a way to set the L-parameter, since if a user sets it in
> the URL TYPO3 remembers it. Maybe we must dive deeper into TYPO3 and see
> if we can simulate this by TypoScript or if an extension is neccessary.
>
> I'll keep you posted.
just another thought:
what does the L-parameter do?
it selects sys_language_uid and some other values, defined in your
(main)template with conditions.
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = en
config.locale_all = en_EN
[global]
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = de
config.locale_all = de_DE
[global]
:
what about using an extension-template overriding any language-settings to
specific values?
//[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = en
config.locale_all = en_EN
//[global]
give it a try and us a report :-)
Bernd
More information about the TYPO3-english
mailing list