![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
![]() |
#2 |
Administrator
|
![]()
Hi!
About search in russian: http://typo3.net.ru/viewtopic.php?t=9 .... \"Probably this is because the REGEX which extracts the words from the content is geared for ascii and no >127 chars. Maybe german and danish extras. In the file \"class.indexer.php\" there is a function \"split2words\" which splits the word in the content and that does it by \"alnum\" plus characters found in some internal arrays: ->convChars - obviously we need a solution for splitting the words in other languages wheere the non-ascii chars are different. For now you can make a class extension to this class and insert a list of russian/ukranian chars in these internal arrays and you should be fine. Feel free to work on a better, more general solution. [Answered Online during List Management]\" Solution: 1. Edit file class.indexer.php in typo3/ext/indexed_search 2. Replace: var $convChars=array( \"qyЉ}t{Њ†v€u\", \"‘™Є?’љ«¤ћ–Ё•\" ); To: var $convChars=array( \"АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ\", \"абвгдеёжзийклмнопрстуфхцчшщъыьэюя\" ); 3. Save file |
![]() |
![]() |