[TYPO3] Realurl question

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Oct 25 16:03:24 CEST 2006


dfragos schrieb am 23.10.2006 02:42:

> I have a problem with realurl. I have a site which uses only Greek but 
> unfortunately Realurl doesn't produce any record for page titles which are 
> in Greek. It is like trimming all the characters which are in Greek. If a 
> title has an English character in it, it will show up, alla the other 
> records which have Greek will be empty.
> 
> Can anyone help me please?

RealURL calls the t3lib_cs::specCharsToASCII function that will try to
translate all character into ASCII "equivalents", which are suitable for
URLs. If you have your site based on UTF-8 (which you should!!), this
will make use of the following transliteration table:

  t3lib/unidata/Translit.txt

I just scanned through it, and it seems that there are no Greek letters
included there. It works pretty well for example in Russian (Cyrillic
signs). See for example:

  http://www.stego.ru/

The russian titles get very nice RealURLs.

So it might be "just" a matter of adding your greek symbols in this
t3lib/unidata/Translit.txt file (after changing that file, clear all
cache files in typo3temp/cs/ and try again).

If you create such a translit-table for greek, you are welcome to share
it with us so that we can integrate it in future TYPO3 releases.

Cheers,
Ernesto



More information about the TYPO3-english mailing list