[TYPO3-english] "one-tree-fits-all-languages" problem
Tomiţă MILITARU
tomita.militaru at gmail.com
Thu Sep 24 10:37:34 CEST 2009
Hello,
I have my website in 2 languages, english (default) and german (de). I've
followed this tutorial
http://typo3.org/documentation/tips-tricks/multi-language-sites-in-typo3/and
deactivated RealURL for now, so I can try it.
But when I access a translated page for German, the content is still in
English. Here is some code:
Template setup:
# Default lang
config.linkVars = L
config.sys_language.uid = 0
config.language = en
config.locale_all = en_UK
# German
[globalVar GP:L = 1]
config.sys_language_uid = 1
config.language = de
config.locale.all = de_DE
[GLOBAL]
# Content
styles.content = CONTENT
styles.content.get {
table = tt_content
select.orderBy = sorting
select.where = colPos=0
select.languageField = sys_language_uid
}
For example when I click the "View page" from the backend to see the
translated page, it goes to www.site.com/index.php?id=1&L=1 but the content
is the same. (english)
Thanks.
--
Tomiţă MILITARU
AIESEC Sibiu Member
Board Member SbLUG
Junior Java Developer
Tel. +40741064681
More information about the TYPO3-english
mailing list