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.

This topic contains 3 replies, has 2 voices.

Last updated by Eran Helzer 1 year, 9 months ago.

Assisted by: Eran Helzer.

Author Posts
August 5, 2023 at 12:12 pm #14158493

osamaA-16

Tell us what you are trying to do?
I am trying to create a comparison website usent Rehub theme and content egg and external importer to work on affiliate marketing.
I contacted the theme support and they adviced me to contact you please find attached screenshot.

Is there any documentation that you are following?
yes the documentation of Rehub theme and yours too.

Is there a similar example that we can see?
Actually I do not know an arabic example for such project idea.

What is the link to your site?
it is
hidden link

Please help

Screenshot.png
August 7, 2023 at 7:49 am #14161643

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

When you say you want to prevent conversion of links, do you mean that you want both versions of a page to point to the original language of another page?
If so, this can be done using WPML Sticky Links. Please check out our documentation here on how to do that exactly:
https://wpml.org/documentation/getting-started-guide/sticky-links/

If this is not what you meant, please provide the following information so I can help you better:
- A little more detail about what you mean by "conversion"
- Screenshots showing the issue
- Links to a page where I can see the issue

FInally, from the debug information you supplied I can see that the WordPress memory limit is set to 40MB. You should increase this to 128MB, as that is the minimum requirement for using WPML in the best way.
You can see how to do that here:
https://wpml.org/home/minimum-requirements/
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-to-increase-your-sites-memory-limit

August 19, 2023 at 10:24 pm #14257419

osamaA-16

I have created a two short videos on loom and sent thep to the theme support and the replayed as shown in the screenshot please watch these videos on via the links down

hidden link

hidden link

I changed the permalink settings to Plain as the theme support adviced me then all arabic pages did not work and showing 404 error

Please
please
please I have been trying to solve this problem for a long time please help me solve it

Screenshot.png
August 22, 2023 at 11:05 am #14270293

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Okay, I believe I may know the reason it does not work in the Arabic version.

I believe you are correct in assuming that the reason is that in the Arabic version, the theme option is not selected.
In order for it to have the correct value, please try the following:
- Get the id of the Comparison page (it is in the URL when you edit the page)
- Get the id of the Arabic Comparison page (same way)
- In the backend, set the English value of the theme option correctly
- Go to WPML -> Theme and Plugins Localization, select the theme and scan
- Go to WPML -> String Translation. Using the search bar, search for the id of the English Comparison page. In the translation you need to put the Arabic page id
https://wpml.org/documentation/getting-started-guide/string-translation/#choosing-which-strings-to-display
- If you do not find it there, in the bottom of the String Translation tab there is "Translate texts in admin screens" link. Go to that page and look for the id of the English Comparison page, then add it to the String Translation
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation

You can also take a look at our documentation here:
https://wpml.org/documentation/getting-started-guide/string-translation/how-to-translate-theme-options/

Please update me if this resolves you issue, or you need any assistance doing this.

August 23, 2023 at 4:25 pm #14279561

osamaA-16

Oh My God
You Have Made My day
it finallyyyyyyyyyyyyyyyyyyyy
solved
thank you so much