[Resolved] WPML did not translate the custom field sentence
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported that the sentence of a custom field did not translate into secondary languages. Solution: We advised the client to set the custom field to Translate if it belongs to a product. Here are the steps to follow: 1. Set the custom field to Translate. 2. Edit the original product where the custom field belongs. 3. Make a minor change to the product description, such as adding an extra letter, and update the product. 4. Go to the WPML Advanced Translation Editor; the field will appear there. 5. Translate it and complete the translation. Additionally, ensure that the original system values are copied to the translation and not translated as highlighted in the provided screenshot.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we 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. If further assistance is needed, 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.
Yes i checked this post. whis is what i configured: hidden link . When i check copy, the sentence show up in secondary language but in English. If i check translate, the custom field missing in secondary language: hidden link.
As far as I understood, this custom field belongs to a product. If you set it to Copy, the custom field will be copied to the translated product when you translate it.
If you set it Translate, the custom field will not be copied to the translated product, but you need to translate it. The steps will be the following:
1. You set the custom field to Translate
2. Edit the original product where the custom field belongs to
3. Add a tiny change to the product description, like an extra letter, and update the product
4. Go to the WPML Advanced Translation Editor; the field will appear there
The custom field function is provided by plugin (Advanced Product Fields Pro for WooCommerce by StudioWombat ). I did the steps you provided above, but it not work, the custom field do not show up if setting into Translate.
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
Please provide the steps to replicate the problem and how you configured the custom field.
Thank you, that one works. I set the custom field to Translate.
The issue was that the system fields of the custom field were translated, which caused them not to be displayed. I have returned the original values for those fields and only left the text that needs to be translated. Attached are the screenshots.
I have reviewed the screencast and noticed that you missed a step I mentioned earlier.
The system fields for the custom field are translated, which is why they are not displaying correctly. You need to copy the original values to the translation that I highlighted in the screenshot.