[TYPO3-english] "one-tree-fits-all-languages" problem

mario m at mariochiari.net
Thu Sep 24 14:40:37 CEST 2009


hi

I use template setup:

config.sys_language_uid = 0
config.language = it
config.linkVars = L

[globalVar = GP:L=1]
 config {
 sys_language_uid = 1
 language = en
 }
[global]

config.sys_language_overlay = 1
config.sys_language_overlay = hideNonTranslated

and Page properties, Options

mod.SHARED {
  defaultLanguageFlag = it.gif
  defaultLanguageLabel = Italiano
}
mod.web_layout.defLangBinding = 1

If it works for you too, please let me know whether rendering of
translated content elements is ok

ciao
mario



Il giorno gio, 24/09/2009 alle 11.37 +0300, Tomiţă MILITARU ha scritto:
> 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
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list