[TYPO3-english] Problem with sr_language_menu and realurl on multilingual website

Björn Wendeler bjorn.wendeler at burnabit.com
Wed Jul 28 12:22:16 CEST 2010


Hi Dave,

thanks for your hint. In my first message I forgot to paste the link to our
bootstrap.ts, so here it is:
http://www.rotorflug.com/fileadmin/lib/ts/bootstrap.ts

As you can see, I have the configuration for [globalVar = GP:L = 0] included
in the bootstrap.ts. So this cannot be the reason for this issue.

Does the language switching back and forth work on your project/page then?

Eventually there's another error in my config somewhere?!

Thanks again and in advance for any hint!

/bjorn wendeler

--
Björn Wendeler :: Geschäftsführer

burnabit gmbh :: lahnstrasse 13 :: 51105 cologne :: de
telefon +49 221 492 37 48 :: telefax +49 221 16 90 19 47
GF: Björn Wendeler :: HRB 63600 :: Amtsgericht Köln
VAT-ID: DE260790068 :: http://www.burnabit.com



> ----- Ursprüngliche Nachricht -----
> Von:        Björn Wendeler <bjorn.wendeler at burnabit.com>
> Gesendet:   Mittwoch, 28. Juli 2010 11:18:48
> An:         TYPO3 English <typo3-english at lists.typo3.org>
> CC:
> Betreff:    [TYPO3-english] Problem with sr_language_menu and realurl
> on multilingual website
>> I have several multilingual websites that use realurl and sr_language_menu
>> to change between the languages installed.
>> 
>> The problem is, that if you are on one page, e.g. the homepage and you click
>> on the english-flag to change to the english version of the homepage,
>> everything works fine.
>> Example:
>> http://www.example.com/de/startseite/
>> becomes
>> http://www.example.com/en/homepage/
>> But when you click onto the German flag now, the URL should be
>> /de/startseite/ again, but it becomes /de/homepage/. This happens on other
>> pages/subpages as well.
>> The basic functionality of the website is given of course, all contents are
>> displayed correctly in the chosen language. But for SEO reasons this is
>> definetely bad, since this results in "double content".
> 
> 
> Hi Björn,
> 
> usually the extension sr_language_menu reflects only faults in the setup
> and doesn't implement faults by itself, so the fault always is in the
> general setup.
> 
> Having setup two languages and one as default the Language-Parameter
> isn't submitted because it's default - turning realUrl of should show it
> for testing. Here is the fault in the setup: You've defined L:0 and L:1
> but not what happens without L concerning the language-setup (you have
> only translated some expressions for this case).
> 
> Here is a snippet of a language-setup of mine whereas the first
> paragraph is missin in yours:
> 
> config {
>      linkVars = L
>      sys_language_overlay = 1
>      sys_language_uid = 0
>      htmlTag_langKey = de
>      language = de
>      locale_all = de_DE
>      metaCharset = utf-8
> #    renderCharset = utf-8
> }
> 
> 
> 
> [globalVar = GP:L = 0]
> config {
>      sys_language_uid = 0
>      language = de
>      locale_all = de_DE
>      htmlTag_langKey = de
> }
> 
> [globalVar = GP:L = 6]
> config {
>      sys_language_uid = 6
>      language = ar
>      locale_all = ar_AR
>      htmlTag_langKey = ar
> }
> [global]
> 
> 
> Hope it helps ;)
> 
> Best Regards
> David
> 
> 
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list