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

Michael Leibenson gramatron at gmail.com
Thu Sep 24 11:06:55 CEST 2009


1. Why do you override styles.content? Maybe better to use temp.content <
styles.content.get?
2. Do you have page and content translated?


On Thu, Sep 24, 2009 at 11:37 AM, Tomiţă MILITARU <tomita.militaru at gmail.com
> wrote:

> 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