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

Last updated by frankS-63 1 year, 8 months ago.

Assisted by: Prosenjit Barman.

Author Posts
May 28, 2023 at 4:17 pm #13728209

frankS-63

I made a CPT with Crocoblock Jetengine and I am able to fins all the custom metafields on the Custom Field Translation in WPML settings except for the field _description. Fields that I can find are start-date, end-date class-name and class location. Does the name of the field have anything to do with this?

May 29, 2023 at 6:56 am #13729051

frankS-63

I changed the Name/ID to class-description but I still can't find it.

May 29, 2023 at 7:34 am #13729361

frankS-63

It keeps getting weirder. After I filled in the content in the renamed field which ws empty after renaming I could find class-description an I can translate it now. But now the previous translatable field product-link is missing in the translation editor. Do I have to rename it to class-product-link as well?

May 29, 2023 at 12:55 pm #13732495

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

If you have created a CPT using JetEngine plugin and also have added meta fields for that CPT, then you must need to add a Name/ID in the correct format for each Meta field you add there. Otherwise, the fields will not function correctly. Kindly check this screenshot(hidden link) for a better understanding.

The Format guideline is also mentioned in the Name field. So, Please make sure that the name is added accordingly.

After making the required adjustments, Navigate to "WPML > Settings" and from the "Custom Fields Translation" section, search for the fields by their Name/ID. The fields will appear in the list and you'll be able to set the translation preference for those fields as per your needs. I hope you can understand.

Feel free to check out the documentation on translating JetEngine using WPML: hidden link

Please let me know if you need further assistance in this matter. I will be happy to assist you.

Best Regards,
Prosenjit

May 29, 2023 at 1:41 pm #13732965

frankS-63

Hello Projensit,
I was able to translate the cpt content. The links should be pointed to the translated content but now I don’t see the translated listing grid in the frontend. I translated the listing items but nothings visible. What am I missing?

May 30, 2023 at 1:12 pm #13739925

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

I hope you're doing fine. Glad to hear that the CPT contents are translated properly now.

Regarding the listing grid issue, can you please share the link to the page where you're having the issue? If you can also share how you're expecting the grid to work, that will be great. Try to include as much as info you can so that we can understand and let you know an update.

Looking forward to your response.

Best Regards,
Prosenjit

May 30, 2023 at 1:30 pm #13740137

frankS-63

Hi Prosenjit,

The items are visible on the pages in the original language and nowhere to be seen on the Czech pages:

Page wit listing in English: hidden link
Page with listing in Czech: hidden link

Listings are also on:

hidden link
hidden link

Best regards,
Frank

May 31, 2023 at 11:51 am #13747303

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Frank,

Thanks for sharing the links. I have checked and it seems the courses are appearing based on the Starting date of the course. If you have any meta field where you can include a start date for the course, can you please check the Translation preference of that Meta field and make sure that it is set to "Copy"? To do so,

- Please go to WPML > Settings and scroll down to the "Custom Field Translation"
- Enter the name of the field in the search box and change the Translation preference to copy.

If the translation preference is set correctly, then a closer inspection will require to identify the root cause. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

June 2, 2023 at 3:23 am #13758275

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Frank,

Thanks for sharing the credentials. Before starting the inspection, I checked the Czech page again and now I can see that the Listings are appearing properly there. Please check this screenshot(hidden link) for a better understanding.

As the Listings are showing fine now, maybe the suggestions mentioned in my last response worked? If not, it would be great if your could share how you've solved the issue.

Please let me know if there is anything else I can help you with. I will be happy to assist you.

Best Regards,
Prosenjit

June 5, 2023 at 5:02 am #13767241

frankS-63

The cause of the issue was that I set the end-date I use for a date query was set to “copy” after the translation. After translating the posts again all was correct and showed on the frontend.