[Résolu] Repeatable field group is not shown in backend after installing WPML
This support ticket is created Il y a 4 années et 11 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I am trying to:
Create a post (steps) that contains a repeatable fieldgroup in Italian after I installed WPML.
Link to a page where the issue can be seen:
See screenshot.
I expected to see:
A button that says: 'add first single step'.
Instead, I got:
No option to add a new 'single step'.
It makes no difference when i switch the translation options (translatable/appear as translatable).
I tried deactivating all plugins + switching theme.
Hello. Thank you for contacting the Toolset support.
A repeatable field group is assigned to only one specific post type.
To make a repeatable field group translatable you need to set this post type to display translations if they exist or fallback to the default language.
To do this, go to the WPML −> Translation Management page, click the Multilingual Content Setup tab, and scroll to the Post Types Translation section. Here, select the "Translatable—use translation if available or fallback to default language" option for the post type that the repeatable field group is assigned to.
Hi Minesh,
Thanks for the quick reply. I tried changing the setting. A few things about that:
- I don't see the extra info in the setting screen (see screenshot).
- After switching the setting i still cannot add a new single step (also in a new item in this language).
Can you please assist? If you want, i can provide you with the creds (please make next post private).
Thanks!
Marc
*** Please make a FULL BACKUP of your database and website.***
I would also eventually 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 and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I added it just now and i still see the same error.
On top of that I would preferably not add the translation management. It's making things visually complicated and WPML states it's only helpful if you work with more people on the translations.
Is it necessary for Toolset repeatable field groups to work?
By the way, you can check it now, it's still installed.
I try to replicate your solution; however i still have the issue. I follow these steps:
1. I go to the steps overview in backend in EN site.
2. I click pencil to create an Italian version of this post.
3. I save the post, but the fields are not available.
4. See here: lien caché
Can you explain the exact steps to follow?
Thanks!
Marc
As the notice says;
Translation mode active. In this mode you can only translate existing items. To add, delete or sort items of Single step switch to the default language.
I switch to the English language and editing the post:
=> lien caché
- Where I have added the new entry for Repeating field group and saved the post
Then, I switch to the Italian language and I can see the repeating field group entry to translate.
=> lien caché
As the notice sasy: To add, delete or sort items of Single step switch to the default language.
That means, if you want to add new entry, delete entry or want to sort it, you should always be on English, your default language from where you should add repeating field group entries and then switch to the other add on languages to translate it.