This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by Diego Pereira 1 year ago.

Assigned support staff: Diego Pereira.

Author Posts
September 24, 2018 at 9:28 am

abdalghaniM

I am trying to: develop a custom search to search in one language

Link to a page where the issue can be seen:
hidden link

I expected to see: English result only

Instead, I got: English and Arabic result

September 25, 2018 at 2:40 pm #2764286

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello @abdalghanim, welcome to the WPML support Forum!

Please take a look at this guide: How to build a multilingual search form: https://wpml.org/documentation/support/creating-multilingual-wordpress-themes/search-form/

Please let me know if it worked for you.

All the best,
Diego

September 26, 2018 at 8:30 am #2766453

abdalghaniM

Hi,
I trying this solution but it did not work

September 26, 2018 at 8:29 pm #2768694

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

In this case I will need to duplicate the website on my local server to run some tests. I will duplicate it using the duplicator package you provided and send you a feedback soon.

Regards,
Diego

September 27, 2018 at 1:16 pm #2770683

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

The duplicator package and the credentials you provided in the first post not worked. Could you please create a new password and send to us? I will generate a new package to duplicate the website.

Kind Regards,
Diego

September 29, 2018 at 6:37 am #2775413

abdalghaniM

Hi

please try this data

[content removed]

October 1, 2018 at 8:03 pm #2779415

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

I'm getting this error, could you please check?
"Error establishing a database connection"

Regards,
Diego

The topic ‘[Closed] the search give me 2 language result’ is closed to new replies.