This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • in reply to: canot find users in translated language #31676
    memcan71memcan71
    Participant

    I solved the problem with custom fields but I have problem with the letter “ı” in turkish. The keyword is “Kadın” and the search brings results if I write “kad” but if I add “ı” it says no results. I think this is a problem related to the character.

    You had previously sent the following code but it does not help. I would appreciate your help.

    add_filter(‘asp_indexing_string_pre_process’, ‘custom_chars_asp_indexing_string_pre_process’, 10, 1);
    add_filter(‘asp_search_phrase_before_cleaning’, ‘custom_chars_asp_indexing_string_pre_process’, 10, 1);
    add_filter(‘asp_query_args’, ‘custom_chars_asp_indexing_string_pre_process’, 10, 1);
    function custom_chars_asp_indexing_string_pre_process($s) {
    $original = array(
    ‘ı’, ‘ī’, ‘ʻ’, ‘ā’, ‘Ṭ’, ‘ṣ’, ‘ū’
    );
    $replace = array(
    ‘i’, ‘i’, ”, ‘a’, ‘t’, ‘s’, ‘u’
    );

    // Replace them
    if ( is_array($s) ) {
    if ( isset($s[‘s’]) && !$s[‘_ajax_search’] )
    $s[‘s’] = str_replace($original, $replace, $s[‘s’]);
    } else {
    $s = str_replace($original, $replace, $s);
    }

    return $s;
    }

    in reply to: canot find users in translated language #31675
    memcan71memcan71
    Participant

    I think I found how to do it. Thanks for your time

    in reply to: canot find users in translated language #31674
    memcan71memcan71
    Participant

    I have installed advanced custom fields plugin but I am not sure how to add user meta fields. Can you let me know how should I add those meta fields?

    in reply to: canot find users in translated language #31664
    memcan71memcan71
    Participant

    Sorry but it is not working. I have attached another ss. It is not user. It is just a page and menu item. The search doesn’t even find page contents.

    in reply to: canot find users in translated language #31655
    memcan71memcan71
    Participant

    Ok I have change her name but still the same. If we cannot find a solution for this, can we do this?

    I have attached each member to a membet type. For example two doctors to the gynecologs and so on. I have assigned Elif sari tp the member type Psychologists. In the english site, when I enter these terms, I mean the member types, the doctors associated to the category appear. But I dont have it in Turkish. How can I make sure that when a visitor types the category name, doctors in that category should appear in Turkish?

    in reply to: canot find users in translated language #31651
    memcan71memcan71
    Participant

    Ok I understand that this does not find the strings below the name. what about the word in the user’s name? The user name is Psikolog Elif Sarı. It finds when I type only ps but when I add the letter i it says no results.

    in reply to: canot find users in translated language #31629
    memcan71memcan71
    Participant

    Thaks for your help. Now search brings the Turkish results but still not as expected.

    is SS11 I attached, when I write only “ps” it finds but when I add “i” it says no results as shown in ss22.

    In ss33 I have added keywords into the bio of the doctor as you see “kadın” but when I search it, it says no result as in ss44

    I appreciate your help.

    in reply to: canot find users in translated language #31603
    memcan71memcan71
    Participant

    I tested it but it is not working. Still when I type Turkish word “Psikolog” no results appear.

    in reply to: canot find users in translated language #31584
    memcan71memcan71
    Participant

    You are looking to the wrong page. The info under that picture of the user is not given in search results. What appears in search results comes from the bio of the user that I have shown in the attached ss. I have already translated it as shown in the second ss but the turkish results are not shown. I hope that is clear enough

    in reply to: canot find users in translated language #31577
    memcan71memcan71
    Participant

    I have added almost all fields but still not working. I figure out that some Turkish translations for users are not found by the plugin. For example ı have attached a ss showing that in Turkish page, english details of the users are coming. how can I fix this?

    in reply to: canot find users in translated language #31562
    memcan71memcan71
    Participant

    I have added those fields but still no success for Turkish search

    in reply to: Taxonomies going to home page error #31396
    memcan71memcan71
    Participant

    I am using Youzer plugin for member type.

    in reply to: Taxonomies going to home page error #31393
    memcan71memcan71
    Participant

    You cannot access this content.

    in reply to: Turkish characters not found #31366
    memcan71memcan71
    Participant

    I applied the snipped you have provided and it worked. Thanks a lot. How can I extend the list to include several other characters in different languages, let us say the ones in the German language?

    in reply to: Turkish characters not found #31365
    memcan71memcan71
    Participant

    Will I experience the same problem if I use WPML? If that fix the problem, I can purchase it.

Viewing 15 posts - 16 through 30 (of 31 total)