[TYPO3-english] Multi lingual - default language issue
atul_shin at yahoo.com
atul_shin at yahoo.com
Fri Mar 30 07:11:46 CEST 2012
Hi all,
I am using TYPO3 4.5.2, Real URL - 1.11.2. My requirement for multilingual setup is as follows:-
1. Default language will be German and second one will be for Austria.
2. Austria will have same content like German except few content areas. So I tried following setup which worked for a while and later had problems.
3. The URLs have to be www.example.com/deand www.example.com/de/at/
The problem is that as soon as I translate any German content to Austria one, the latter shows up even on first setup (ie German setup). When I hide Austria translation the German site shown German content but why I have to hide Austrian version to get German working on German site, is what I am not able to find.
I have setup two language :-
1. "German" which is default language and have set up in root page TSCONFIG
2. "Austria" which has language uid = 1
Following TYPOSCRIPT has been used.
############################################
# TEMPLAVOILA CONTENT MULTILANGUAGE SOLUTION
config.sys_language_overlay = 1
config.sys_language_mode = content_fallback
# LANGAUGE SETTINGS
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
[globalVar = GP:L = 1]
config.language = at
config.locale_all = ae_AE
config.sys_language_uid = 1
[global]
############################################
Real URL configuation is as follows
############################################
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'at' => '1'
),
'noMatch' => 'bypass',
),
),
############################################
Whether I have to make changes in real url conf as global var L has no value set by default and hence settings do not work or there is something else. The setting work well when I use IP instead of domain name. Please advice.
Atul
Sent from BlackBerry® on Airtel
More information about the TYPO3-english
mailing list