[TYPO3] Cooluri - multilingual support -

Jan Bednarik info at bednarik.org
Fri Nov 9 23:25:32 CET 2007


> Jan, to answer you question, how can I test/view how Typo3 converts
> these characters?

I'm not sure. How about setting them as alias. Would they be converted then?

This is the function I use to call t3 conversion:

if (!self::$cs) {
     if (!class_exists('t3lib_div')) return self::URLize($s);
     self::$cs = t3lib_div::makeInstance('t3lib_cs');
   }
$charset = $GLOBALS['TSFE']->metaCharset;
if ($charset == "") $charset = "utf-8";
$text = self::$cs->specCharsToASCII($charset, $s);
$text = str_replace('\'', '', $text);
$text = preg_replace('/\W+/', '-', $text);
$text = trim($text, '-');
$text = strtolower($text);
return $text;

if you think there's something wrong about it, just let me know. 
Otherwise I really don't know how to help.

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-english mailing list