WordPress.org

Ready to get started?Download WordPress

Forums

change search keywords (7 posts)

  1. meraklija_nis
    Member
    Posted 3 years ago #

    My site is in Cyrillic. When user enter the keyword with Latin, search result is not good. How can I change search keyword from Latin to Cyrillic alphabet. I have script for converting text, but I can not find where to use it in function.php (which begins search mechanism).

  2. Tara
    Member
    Posted 3 years ago #

    review these plugins:

  3. meraklija_nis
    Member
    Posted 3 years ago #

    That's not what I need. Cyrillic search works well if keyword is entered with Cyrillic, but I want to convert Latin keyword to Cyrillic to get a good result too.

  4. Tara
    Member
    Posted 3 years ago #

  5. meraklija_nis
    Member
    Posted 3 years ago #

    These words are the same (Cyrillic and Latin alphabet):
    тест and test
    слика and slika
    наслов and naslov

    Wordprss search to find the word "тест" that is written in Cyrillic and it is ok if user enter keyword as "тест".
    But, the user enter the keyword with Latin alphabet as "test" and wordpress search can not find that word.
    I need to convert keyword from Latin to Cyrillic before search.
    I ask how, in function.php or elsewhere, to convert keyword before search.

    I dont need to converting characters in database. I use utf8 and there is all right.

  6. Vuk Stanković
    Member
    Posted 2 years ago #

    I know this is old thread, but I wonder if you resolved your problem.
    Što bi rekli po naški, jel si rešio?

  7. meraklija_nis
    Member
    Posted 2 years ago #

    Unfortunately, I did not solve the problem
    (Нисам, претрага ради само са ћирилицом)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.