This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is using jetForm Builder to create multiple forms on their website and is looking for a way to translate the label input fields without duplicating the form post for translation, which would be high maintenance due to the large number of forms and input fields.
Solution:
Duplicating the form is the standard procedure for translation per the Jet engine documentation.
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: Compatibility
This topic contains 9 replies, has 2 voices.
Last updated by Lauren 1 year, 1 month ago.
Assisted by: Lauren.
Author | Posts |
---|---|
November 28, 2023 at 12:02 am #14935271 | |
fadyS-2 |
I am using jetForm Builder to build multiple forms on my website, and i want to find a way that makes me able to translate label input fields ( image is attached ), i can't find the label text inside wpml translator. And I don't want to duplicate form post and translate it manually from the duplicated post, this solution will be really high maintenance for me as i have a lot of forms that have too many input fields that requires so many wiring with meta fields and creating post types. So my question is how can i translate the label field text in the wpml translator, so i don't have to duplicate the form post ? |
November 28, 2023 at 1:44 pm #14940347 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Hi there, thanks for contacting WPML support. According to the documentation here hidden link, it looks like you should be able to set the custom fields to translatable and then translate using the WPML Advanced Translation Editor. Have you followed these steps to first set your fields as translatable? Please send me a screenshot of the custom field settings for the field with the label you are trying to translate from WPML -> Settings -> Custom Fields. If it was not set to translatable, you will need to update the form in the original language after changing this setting and resend it to translation. Then you should see the label in the translation editor. Please let me know the results. |
November 28, 2023 at 5:03 pm #14942993 | |
fadyS-2 |
This is not related to custom fields, the label field i am talking about is inside the block settings of input fields blocks created by the plugin i am using (JetForm Builder by crocoblock). btw i looked at the custom fields inside the settings and i couldn't find it. The article you added says that i have to duplicate the form, which is the solution i am traying to avoid, is there a way that makes the wpml translator read this label input filed ? |
November 28, 2023 at 5:16 pm #14943183 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
According to the documentation it seems that you will need to duplicate the form in order to add the translation. However, it *may* be possible to use string translation for the label, as I have seen that work with some different plugins that use labels. I am not sure, as I have not tested. I have provided a link below to login to a test site. Please install your plugin and create a test form with a test block and label so that we can test this out. hidden link |
November 28, 2023 at 5:34 pm #14943323 | |
fadyS-2 |
I installed the plugin and created a test form with a test block and label, thank you. |
November 28, 2023 at 6:34 pm #14943581 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Thanks for setting that up. I installed WPML and set the forms to translation, but as per the documentation, translating the forms only translates the titles and there are no custom fields set for the label. I also could not locate the labels being registered as a string. So the only way to currently translate the label is how it is explained in the documentation from Crocoblock. |
November 28, 2023 at 6:45 pm #14943597 | |
fadyS-2 |
String translation , or using wpml packages wouldn't help in this situation ? |
November 28, 2023 at 6:54 pm #14943751 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
No, becuase the strings are being registered for translation in the String Translation table. That's what I was hoping to use as a workaround. And packages are used for page builder packages. My guess is that these field labels are stored in a table that is not allowing WPML to register them, which is why their documentation says to duplicate the form. Typically, post types (in this case forms) with custom fields can all be set as translatable and translated using the WPML translation editor. But in this case only the title shows up when trying to translate the post type. |
November 28, 2023 at 7:23 pm #14943857 | |
fadyS-2 |
I guess I have to use the duplicate method then. Thank you appreciate your effort. |
November 28, 2023 at 8:07 pm #14944219 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
You are welcome, sorry there wasn't another method. Perhaps this can be something JetForm Builder can expand in the future so that it can be translated via the Translation Editor. |