[TYPO3-commerce] catmenu for second lang
Bas van der Togt
b.vandertogt at profinit.com
Thu Dec 13 21:25:15 CET 2007
nobody?
Bas van der Togt schreef:
> Hi Alex,
>
> Thank you for your answer!
> Yeb i got that.
> Any other ideas?
>
> My config:
> config {
> # General
> no_cache = 1
> disableCharset = 1
> removeDefaultJS = external
> doctype = xhtml_strict
> xmlprologue = none
> linkVars = L
> admPanel = 0
> disablePrefixComment = 1
> xhtml_cleaning = all
>
> # Direct mail
> insertDmailerBoundaries = 1
>
> # RealURL
> tx_realurl_enable = 0
> baseURL = http://www.mydomain.com/
> index_enable = 1
> index_externals = 0
> simulateStaticDocuments = 0
> prefixLocalAnchors = all
>
> # Default language settings
> sys_language_uid = 0
> language = nl
> locale_all = nl_NL
> htmlTag_langKey = nl
> tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
> }
>
> # Exclude print pages in indexed search engine
> [globalVar = GP:type = 98]
> config.index_enable = 0
> config.doctypeSwitch = 0
> [end]
>
> # English language settings
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.language = en
> config.locale_all = en_EN
> config.htmlTag_langKey = en
> plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
> [end]
>
>
>
> media.res | Alex Widschwendter wrote:
>> hi bas,
>>
>>>>> Does anybody know how to use the following menu for a second language?
>>>>
>>>> sorry, I don't understand your question. Do you like to simply show the
>>>> cat-menu in the currently selected FE language, or do you like to show
>>>> the cat-menu twice on the same page, once in the default language and
>>>> one in a different one?
>>>>
>>>> If you simply like to show the cat-menu in the selected FE language,
>>>> then set the proper general TS vars for language handling
>>>> (sys_language_uid etc, see Typo3 documentation) and translate the
>>>> categories in the backend (see Typo3 documentation for how to translate
>>>> records). That should be all you have to do.
>>
>> do you have something like this in your setup?
>>
>> config.sys_language_uid = 0
>> config.language = de
>> config.locale_all = de_DE
>> [globalVar = GP:L = 0]
>> config.sys_language_uid = 0
>> config.language = de
>> config.locale_all = de_DE
>> [global]
>> [globalVar = GP:L = 1]
>> config.sys_language_uid = 1
>> config.language = en
>> config.locale_all = en_EN
>> [global]
>>
>> hth alex
More information about the TYPO3-project-commerce
mailing list