Skip to content Skip to sidebar

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

Problem:
You are trying to translate fields/labels generated through the Chauffeur Taxi Booking System plugin's post types in the booking form on your website. Although you have set the custom fields to 'Translate' and post types to 'Translatable' in WPML Settings, when attempting to translate a post type, it only displays the post type title without the internal fields.
Solution:
To translate these post types, please follow the steps outlined in our guide on Translating Custom Posts. Additionally, we recommend manually translating these posts as they might contain elements not registered with WPML. Here are the steps to manually translate these posts:

  • Edit the content in the original language.
  • Go to the right column -> Languages block.
  • Select 'WordPress Editor' option.
  • Establish the scope of the changes to that post type only.
  • Save the changes.

If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, visit our support forum 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 8 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
June 7, 2024 at 8:55 am #15714237

angelosS

Background of the issue:
I am trying to translate texts from the Chauffeur Taxi Booking System plugin on my website hidden link. From String Translations, I managed to translate the strings that are hardcoded from the plugin. Now, I want to translate the fields/labels generated through the plugin's post types in the booking form of the website. I tried enabling the custom fields of the plugin to 'Translate' in the 'Custom Fields Translation' section and setting the 'Post Types Translation' to 'Translatable' in WPML Settings. However, when I try to translate a post type, it only shows the post type title without the internal fields.

Symptoms:
When trying to translate a post type, it only shows the post type title without the internal fields.
Can't translate the fields from plugin.

Questions:
How can I translate the fields/labels generated through the plugin's post types in the booking form?
Why are the internal fields not showing up for translation when I try to translate a post type?

June 7, 2024 at 9:03 am #15714344

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

1.- I kindly ask you to follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ and let me know if you were able to find and translate the strings.

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '128M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos

June 10, 2024 at 6:55 am #15720220

angelosS

Hello,

I changed the Memory Limit to 512Mb and still getting the same issue.

So any other ideas on this one?

Thank you in advanced.

June 10, 2024 at 9:15 am #15720970

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your feedback

1.- Please describe step-by-step how to create/edit these fields

2.- I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

June 10, 2024 at 11:33 am #15721801

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for sharing the credentials requested.

To translate all these post types you need to follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/translating-custom-posts/

I also recommend you manually translate these posts as they might contain elements not registered for WPML. To manually translate these posts you must follow these steps:
- Edit the content in the original language
- Go to the right column -> Languages block
- Select 'WordPress Editor' option
- Establish the scope of the changes to that post type only
- Save the changes

Let me know if you need further assistance.

June 17, 2024 at 9:45 am #15744343

angelosS

Hello,

I tried the same steps that you suggest in Guide, but still can't see the fields for translation.
I only can see the post title without the fields.

Do you want more screenshots from my steps or something else?
Any other ideas?

Thank you in advanced

June 17, 2024 at 10:04 am #15744477

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

Have you tried manually translating the posts as I described in my previous message?

June 17, 2024 at 11:26 am #15744988

angelosS

Hello,

I tried the manually way, and you are true that i could see the fields to translate.

I translated them, but in website it doesn't show the translated texts.
If you go to Russian edition, and go to booking form (select random dates / destination), in the next step (2nd), there are the vehicles to choose.

There is a dropdown in each vehicle, that shows the vehicle information. The included texts (that we translate) are still in English. Can you check that everything from the WPML settings are right or i am missing something?

Thank you in advanced

June 17, 2024 at 11:32 am #15745009

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,

1.- I'm not quite sure how to reproduce the issue. Could you share a URL and some screenshots or a video describing the steps to reproduce the problem?

2.- Also, please follow these guides to set translatable the taxonomies: https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/ and to translate the custom fields: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/