Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants to automatically translate their website's pages, including the search bar, into Urdu when clicking on the Pakistan flag, using the Houzez theme.
Solution:
We recommend checking the following guides to understand how to set up automatic translation and translate different content types such as menus and search bars:

Menus may need to be synced, and the search bar's strings may need to be translated via String Translation.

If this solution doesn't seem relevant, please open a new support ticket at WPML support forum.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 7 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
November 1, 2023 at 1:14 pm #14707733

hamidA-7

Tell us what you are trying to do?

when click on pakistan flag we want auto translate my pages in other laug like home page or other. we create menu in urdu, but search bar cannot translate in other laug.

Is there any documentation that you are following?
i am using houzez theme

Is there a similar example that we can see?

please check this website hidden link

What is the link to your site?
hidden link

029.png
November 2, 2023 at 7:38 am #14712927

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Hamid,

Thank you for contacting the support.

I'll advise to check the following guides:

- https://wpml.org/documentation/getting-started-guide/
- https://wpml.org/documentation/automatic-translation/
- https://wpml.org/documentation/getting-started-guide/string-translation/

Since a page consists of several different content types like sliders, forms, custom post types and etc. I'll suggest to go through the above mentioned guides and follow along.

For example, menus may need to be synced, search bar's strings may need to be translated via String Translation and etc.

I'll also advise to fix “WP Memory Limit” to at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set this in your wp-config.php file by adding following code:

define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Remember to add these lines before the line where it says:
/* That's all, stop editing! Happy publishing. */

Please let me know if this helps and I'll try my best to further help you on the matter.

Regards.