[TYPO3-english] rlmp_language_detection

Toshiyuki Toda toda at mobeta.net
Fri Jul 30 03:26:50 CEST 2010


Hi,

Did you insert such line into TypoScript setup?
I was troubled with this line during a day.

page.10 < plugin.tx_rlmplanguagedetection_pi1

I think that typo3 experts were able to solve this problem immediately. 
It is neglected for ten months.


(2009/10/04 23:58), Antonio Willybiro wrote:
> Hi,
>
> I have a multi-language website set up with a 'one tree fits all' approach.
> The default language is French (uid=1) and I have added English (uid=2)
>
> What I am trying to achieve is to get the visitors redirected
> automatically to the English version of the site if that is their
> preferred web browser language
>
> I use Ext: sr_language_menu to switch between languages and that works
> well.
>
> I have installed rlmp_language_detection and can't figure out how to get
> it working.
>
> My Page TS (website root):
> mod.SHARED {
> defaultLanguageFlag = fr.gif
> defaultLanguageLabel = French
> }
>
> My TS:
> ############### CONFIG ###############
> config {
> metaCharset = utf-8
> renderCharset = utf-8
> simulateStaticDocuments = 0
> baseURL = http://www.domain.com/
> noBlur = 1
> doctype = xhtml_trans
> xhtml_cleaning = all
> doctypeSwitch = 0
> xmlprologue = none
> removeDefaultJS = external
> no_cache = 0
> tx_realurl_enable = 1
> rootpage_id = 1
> prefixLocalAnchors = all
> sword_standAlone = 1
> index_enable = 1
> index_externals = 1
> tx_loginusertrack_enable = 1
> #admPanel = 1
> stat = 1
> stat_apache = 1
> stat_apache_logfile = domain.log
> stat_mysql = 0
> spamProtectEmailAddresses = 1
> spamProtectEmailAddresses_atSubst = (at)
> extTarget = _blank
> }
> [browser=msie]
> config.doctypeSwitch = 1
> [end]
>
>
> #lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class =
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.innerStdWrap_all.ifEmpty >
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = |
>
> ############## LANGUAGES ###############
> config.linkVars = L
> config.sys_language_uid = 0
> config.language = fr
> config.locale_all = fr_FR.utf8
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.language = fr
> config.locale_all = fr_FR.utf8
> [global]
> [globalVar = GP:L = 2]
> config.sys_language_uid = 2
> config.language = en
> config.locale_all = en_GB.utf8
> [global]
>
> config.sys_language_mode = strict
> #config.sys_language_mode = content_fallback
>
> config.sys_language_overlay = hideNonTranslated
>
> plugin.tx_rlmplanguagedetection_pi1 {
> defaultLang = fr
> useOneTreeMethod = 1}
>
>
> I have realurl set up and working properly.
>
>
> Any idea why my English users would not be redirected to
> http://www.domain.com/en/ (en for english L=2) when trying to reach
> http://www.domain.com ?
>
> Thanks
> Antonio



More information about the TYPO3-english mailing list