Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] Only pages and not content are shown in correct language within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi! I've set my site up for multilingual support. However, when I change langauge value to my alternative language (...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi!
I've set my site up for multilingual support. However, when I change langauge value to my alternative language (L=1) only my pages are translated in the menus, but the content is still shown in the default language. I have made translations of all the content on that page, but it doesn's show. Here is a link to both languages on my test site. Notice how the first menu item changes but the content stays the same. Default http://stroetanker.dk/euwc/index.php?id=24&L=0 Alternative http://stroetanker.dk/euwc/index.php?id=24&L=1 Thank you for any suggestions Stephan Viftrup SV Consult _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
ellou'
You wrote on 24 czerwca 2008 (12:01:44) : > Hi! > I've set my site up for multilingual support. > However, when I change langauge value to my alternative language (L=1) > only my pages are translated in the menus, but the content is still > shown in the default language. Did you change your main template TS - content subpart as described in doc? http://typo3.org/documentation/tips-...ites-in-typo3/ Step 4, last screenshot: select.languageField = sys_language_uid -- greets, Marcus Biesioroff _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
Hi!
On 2008-06-24 12:19:56 +0200, Marcus Biesioroff <vsbies (AT) wp (DOT) pl> said: > ellou' > > You wrote on 24 czerwca 2008 (12:01:44) : > >> Hi! > >> I've set my site up for multilingual support. >> However, when I change langauge value to my alternative language (L=1) >> only my pages are translated in the menus, but the content is still >> shown in the default language. > > Did you change your main template TS - content subpart as described > in doc? > > http://typo3.org/documentation/tips-...ites-in-typo3/ > > Step 4, last screenshot: > > select.languageField = sys_language_uid This is taken from my template analyser and shows that line 44 indeed uses sys_langauge_uid But perhaps it is not using it? I am using templavoila and therefore css_styled_content. Does that have anything to say? Regards Stephan Viftrup SV Consult SETUP: EXT:css_styled_content/static/ 29: [GLOBAL] 30: # ************************************************** ************************* 31: # Notice: "styles." (and "temp.") objects are UNSET after template parsing! 32: # Use "lib." for persisting storage of objects. 33: # ************************************************** ************************* 34: 35: # Clear out any constants in this reserved room! 36: styles.content > 37: 38: # get content 39: styles.content.get = CONTENT 40: styles.content.get { 41: table = tt_content 42: select.orderBy = sorting 43: select.where = colPos=0 44: select.languageField = sys_language_uid 45: } 46: 47: # get c _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
I had this problem after going through the tutorial on making a multi-lingual
website. I had just two languages, english and german and at first only the menus would change, the content wouldn't. I then discovered this: http://typo3bloke.net/post-details/c...h_templavoila/ In the typoscript there is something not mentioned in the other tutorial... I forget now what it was. The site was just for testing and I don't ahve it anymore. But look through the TS and see what is different. I believe it may have been: config.sys_language_overlay = content_fallback As soon as I added it, the content got changed too. PS: Demitry: The archive links don't seem to work on you site. I clicked on october 2006 expecting then just to see articles form october 2006 but I still see nothing but articles from 2008. ----- -- Stephen Bungert -- View this message in context: http://www.nabble.com/Only-pages-and...p18088624.html Sent from the TYPO3 English mailing list archive at Nabble.com. _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#5
|
|||
|
|||
|
ellou'
You wrote on 24 czerwca 2008 (12:30:36) : > This is taken from my template analyser and shows that line 44 indeed > uses sys_langauge_uid > But perhaps it is not using it? > I am using templavoila and therefore css_styled_content. O. TV! telling the truth I don't use it at all so I don't know TV! specific problems... However i think that's clue, look at note in line 31, as far as I can understand, TV! after template parsing unsets object's and sets it in it's own way (? - not sure, just 'shooting'). So you should search MultiLanguage topics in context of TV! That's all what can I say ![]() Sorry I know it's not much more than you can see yourself ![]() > SETUP: > EXT:css_styled_content/static/ > > 29: [GLOBAL] > 30: # > ************************************************** ************************* > > 31: # Notice: "styles." (and "temp.") objects are UNSET after template > parsing! > 32: # Use "lib." for persisting storage of objects. > 33: # > ************************************************** ************************* > > 34: > 35: # Clear out any constants in this reserved room! > 36: styles.content > > 37: > 38: # get content > 39: styles.content.get = CONTENT > 40: styles.content.get { > 41: table = tt_content > 42: select.orderBy = sorting > 43: select.where = colPos=0 > 44: select.languageField = sys_language_uid > 45: } > 46: > 47: # get c > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english -- greets, Marcus Biesioroff _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#6
|
|||
|
|||
|
Thank you! That guide did the trick.
The TS was different config.linkVars = L config.uniqueLinkVars = 1 config.sys_language_overlay = content_fallback config.language = en config.sys_language_uid = 0 [globalVar = GP:L = 1] config.language = de config.sys_language_uid = 1 [global] I did not use config.uniqueLinkVars = 1 config.sys_language_overlay = content_fallback so that probably did the trick On 2008-06-24 12:59:05 +0200, StephenBungert <stephenbungert (AT) yahoo (DOT) de> said: > > I had this problem after going through the tutorial on making a multi-lingual > website. > I had just two languages, english and german and at first only the menus > would change, the content wouldn't. > > I then discovered this: > > http://typo3bloke.net/post-details/c...h_templavoila/ In > > the typoscript there is something not mentioned in the other tutorial... > I forget now what it was. The site was just for testing and I don't ahve it > anymore. But look through the TS and see what is different. I believe it may > have been: config.sys_language_overlay = content_fallback > > As soon as I added it, the content got changed too. > > PS: Demitry: The archive links don't seem to work on you site. I clicked on > october 2006 expecting then just to see articles form october 2006 but I > still see nothing but articles from 2008. > > > > > ----- > -- > Stephen Bungert _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] extended pages fields in another language | Rob De Vries | typo3-english@lists.netfielders.de | 1 | 21.05.2008 11:38 |
| [TYPO3] Set up the correct EXT language label for non Englishwebsite | rocky Ou | typo3-english@lists.netfielders.de | 1 | 22.08.2007 12:00 |
| [TYPO3-shop] How to put offers to all pages correct. | Alexander | typo3-project-tt-products@lists.netfielders.de | 1 | 26.05.2007 19:52 |
| [TYPO3] Seperate language forms for non-fce pages in templavoila? | Peter | typo3-english@lists.netfielders.de | 1 | 29.04.2007 10:24 |
| [TYPO3-dev] direct_mail : no categories shown in content elements | hard.one - mphanke | typo3-dev@lists.netfielders.de | 0 | 27.01.2007 21:24 |