Skip Navigation

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 3 replies, has 2 voices.

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

Assisted by: Waqas Bin Hasan.

Author Posts
April 6, 2023 at 3:04 pm #13421073

bassemr

Tell us what you are trying to do?
Hi, i have website for tours i translated the pages and tours but there is a major problem, from user point when the user press on the tour instead of showing miastartours.com/pl/tourname
the site takes the user to the English page although that the translation exists of that page or tour
for example try to check that link and choose polish language:
hidden link

What is the link to your site?
hidden link

April 6, 2023 at 8:48 pm #13423061

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting the support.

I just visited the said URL hidden link and after selecting Polish from menu language switcher, I was taken to the Polish version hidden link (see attached).

Was that the problem you are referring to? However, it looks fine though.

If not, can you please provide more details with screenshots and steps (or a screen recording) showing the problem?

On the other hand, I'll advise to update WordPress to the latest version so if there are any compatibility problems or known issues, that should be fixed, since you are already using latest WPML plugins.

Besides that, I see that the "WP Memory Limit" is set to 40M. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit 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. */

See https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php for details. Increasing WP Memory may help improve the performance.

Regards.

pl.jpg
en.jpg
April 9, 2023 at 9:50 am #13433697

bassemr

Hi, thank you for advises, i increased the memory limit, but updating the wordpress i am waiting for theme update for it, i found where is the problem it was in a plugin called Travel booking that my theme Tour & Travel WordPress Theme uses making conflict with WPML i have disabled it that's why when you logged into the website you didn't find problems.
here's a video about the error:
hidden link

April 10, 2023 at 5:58 pm #13439313

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Thank you for the updates.

Sure, please take your time, I hope your theme provider fixed it soon or provides the related technical information, so we can see if anything can be done on WPML side.

However, I checked that the said theme and plugin are not on our compatibility lists:

- Theme: https://wpml.org/theme/?wpv_view_count=119967&wpv-theme-category=0&wpv_post_search=TravelWP&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search
- Plugins: https://wpml.org/plugin/?wpv_view_count=120064&wpv-plugin-functionality=0&wpv_post_search=Travel+booking&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search

WPML offers very useful information for developers aiming to make their themes/plugins compatible. Please see https://wpml.org/documentation/support/ and https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/ for details.

Theme and plugin authors are welcome to join WPML’s Go Global program, which helps theme and plugin authors make their code multilingual ready. Together with WPML’s compatibility team, they can test and confirm that their theme or plugin works with WPML. See https://wpml.org/documentation/support/go-global-program/ for details and you can refer your theme/plugin provider to this as well.

Regards.