[TYPO3-english] Multilanguage: Switching language gets back to default
Toni Andric
toni.andric at openit.hr
Tue Jul 31 12:32:35 CEST 2012
Hello,
i think i read over 100 posts about language problems in t3 that ppl
have and havent found mine. so i hope u guys can help me.
I am pretty new to T3 and still dont get a lot of stuff but here we go.
I made a multilanguage site, default is Croatian, i added English and
Croatian under languages. I set up language changer, it works fine (i
get L=0 orL=1 at end of url's) and my content changes, menus change to
their given english names and its all fine.
Now the problem is, when i switch to Eng version, then i click on menu
link, my page opens and my "&L=1 or 0" is gone and content, menu and
everything is back to default (Croatian).
My TS:
config {
linkVars = L
sys_language_mode = content_fallback
sys_language_overlay = content_fallback
sys_language_uid = 0
language = hr
locale_all = hr_HR
}
# Croatian
[globalVar = GP:L=0]
config {
sys_language_uid = 0
language = hr
locale_all = hr_HR.UTF-8
}
[global]
#English
[globalVar = GP:L=1]
config {
sys_language_uid = 1
language = en
locale_all = en_EN.UTF-8
}
[global]
And another problem is on my "home" page (has its own template, not much
diferent from template for other pages) shows default lang, eng language
and croatian lang contents and i checked the diference between templates
for "home" and "other pages" and couldnt find the problem.
ps. Should i use Croatian as default + English lang, or def+eng+cro? I
ask this cause i read somewhere that default lang "isnt" a sites
language in some way (dont get that part tbh).
--
Toni Andric
Open IT d.o.o.
Splitska 26
47000 Karlovac
Tel: +385(0)47 493 413
GSM: +385(0)91 406 2566
E-mail: toni.andric at openit.hr
http://www.openit.hr
More information about the TYPO3-english
mailing list