[TYPO3-german] TYPO3 FE Sprache Englisch und Chinesisch
Sebastian Schmal
sebastian.schmal at gmx.de
Tue Jan 28 11:33:49 CET 2014
niemand eine Idee warum die Hilfen im Netz nicht funktionieren?
Vielen Dank!
------------------------------------------
TYPO3 - TIPPS - ANLEITUNGEN - NEWS
unter: http://blog.ingeniumdesign.de/
TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
unter: http://www.ingeniumdesign.de/
Facebook Fan
http://www.facebook.com/ingeniumdesign/
------------------------------------------
Am 27.01.2014 14:18, schrieb Sebastian Schmal:
> Hallo,
>
> habe im Netz schon ein paar Sachen zu der TYPO3 Sprache Chinesisch.
> gelesen, doch leider funktionieren bei mir die lesbaren URL´s nicht.
>
> Alles andere geht soweit.
>
> Kann mir jemand Tipps geben?
>
> ID=0 Englisch
> ID=1 China
>
>
> hier mal die realurl.php
>
> <?php
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>
> 'init' => array(
> 'useCHashCache' => '1',
> 'enableCHashCache' => 1,
> 'respectSimulateStaticURLs' => 'TRUE',
> 'appendMissingSlash' => 'ifNotFile',
> 'enableUrlDecodeCache' => '1',
> 'enableUrlEncodeCache' => '1',
> 'enableAllUnicodeLetters' => true,
> ),
>
> 'preVars' => array(
> array(
> 'GETvar' => 'no_cache',
> 'valueMap' => array(
> 'no_cache' => 1,
> 'nc' => 1,
> ),
> 'noMatch' => 'bypass',
> ),
> array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> 'en' => '0',
> 'cn' => '1',
> ),
> 'noMatch' => 'bypass',
> ),
> ),
>
>
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'segTitleFieldList' =>
> 'alias,tx_realurl_pathsegment,nav_title,title',
> 'languageGetVar' => 'L',
> 'expireDays' => 1,
> 'disablePathCache' => 1,
> 'rootpage_id' => 1,
>
> 'languageExceptionUids' => '1',
> 'languageField' => 'sys_language_uid',
> 'transOrigPointerField' => 'l18n_parent',
> 'autoUpdate' => 1,
> 'expireDays' => 180,
> ),
>
> 'fileName' => array(
> 'defaultToHTMLsuffixOnPrev' => '.html',
> 'index' => array(
> 'rss.xml' => array(
> 'keyValues' => array(
> 'type' => 100,
> ),
> ),
> 'rss091.xml' => array(
> 'keyValues' => array(
> 'type' => 101,
> ),
> ),
> 'rdf.xml' => array(
> 'keyValues' => array(
> 'type' => 102,
> ),
> ),
> 'atom.xml' => array(
> 'keyValues' => array(
> 'type' => 103,
> ),
> ),
> ),
> ),
>
>
>
> 'postVarSets' => array(
> '_DEFAULT' => array(
>
>
>
> 'browse' => array(
> array( 'GETvar' =>
> 'tx_ttnews[pointer]', 'valueMap' => array('weiter' => '1','weiter' =>
> '2',)),),
>
>
> // news kategorien
>
> 'category' => array (
> array( 'GETvar' => 'tx_ttnews[cat]',
> 'lookUpTable' => array('table' => 'tt_news_cat', 'id_field' => 'uid',
> 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => 1, 'useUniqueCache_conf' => array( 'strtolower' =>
> 1, 'spaceCharacter' => '-', ),),),),
>
>
> // news artikel
>
> 'date' => array(
> array('GETvar' => 'tx_ttnews[year]' , ),
>
> array('GETvar' => 'tx_ttnews[month]' , ),
> array('GETvar' => 'tx_ttnews[day]' , ),
> array('GETvar' =>
> 'tx_ttnews[tt_news]','lookUpTable' => array( 'table' => 'tt_news',
> 'id_field' => 'uid', 'alias_field' => 'title', 'addWhereClause' => ' AND
> NOT deleted', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array(
> 'strtolower' => 1, 'spaceCharacter' => '-', ),),),),
>
>
> ),),
> );
>
>
> // default Konfiguration übernehmen
> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['domain.com'] =
> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['www.domain.com'] =
> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'];
>
> // Rootpage ID anpassen
> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['domain.com'] ['pagePath']
> ['rootpage_id'] =
> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['www.domain.com'] ['pagePath']
> ['rootpage_id'] = '1';
>
> ?>
>
>
>
> ich hoffe ihr könnt mir helfen.
> Vielen Dank!
> Sebastian
>
More information about the TYPO3-german
mailing list