[TYPO3] Some language troubles
Jeppe Donslund
jd at webmasters.dk
Mon Mar 24 14:47:53 CET 2008
Hi experts.
I have 2 troubles concerning a language selector.
1.
tt_news won't show danish language.
Danish is the standard language and in setup i have this:
language = dk
locale_all = da_DK
But tt_news is still English.
2.
I use this code for language selector menu:
config {
linkVars = L
sys_language_mode = content_fallback
sys_language_overlay = 1
}
[globalVar = GP:L=1]
config {
sys_language_uid = 1
language = nl
locale_all = nl_NL
metaCharset = iso-8859-1
}
[global]
#Language selector
## Localization menu:
lib.langMenu = HMENU
lib.langMenu {
special = language
special.value = 0,1
special.normalWhenNoLanguage = 0
1 = GMENU
1.wrap = <table><tr>|</tr></table>
1.NO {
XY = [5.w], [5.h]
backColor = #2a366f
5 = IMAGE
5.file = EXT:cms/tslib/media/flags/flag_dk_d.gif ||
EXT:cms/tslib/media/flags/flag_nl_d.gif
5.offset = 0,0
}
1.NO.wrap = <td>|</td>
1.ACT < lib.langMenu.1.NO
1.ACT=1
1.ACT.backColor = #2a366f
1.ACT.wrap = <td>|</td>
1.USERDEF1 < lib.langMenu.1.NO
1.USERDEF1=1
1.USERDEF1.5.file = EXT:cms/tslib/media/flags/flag_dk.gif ||
EXT:cms/tslib/media/flags/flag_nl.gif
1.USERDEF1.noLink = 0
1.USERDEF2 < lib.langMenu.1.USERDEF1
1.USERDEF2.backColor = #2a366f
}
But, when I click the flags I get L=1&L=0 in the adress:
/index.php?id=29&L=0&L=1
What can be wrong?
Best regards
Jeppe D.
More information about the TYPO3-english
mailing list