Comments (12)
I'm writing here as I noticed the same problem, ACF qtranslate causes my repeater fields and relationship fields to flush all their contents when saved.
I initially reported this bug to qtranslate-x thinking the problem was on their end, (and also to ACF), but realized that disabling ACF qtranslate allows these fields to save properly again.
I've described it in detail on the qtranslate-x tracker and also on the ACF forum.
Confirmed Rolling back to 1.7.5 fixes the problem
from acf-qtranslate.
If you change the repeater field types to default text (not qTranslate Text), the problem is solved. The problem exists because JavaScript doesn't update the hidden qtranslate field and an empty hidden field with name being an array overwrites previous values of the array and in this case the array is empty, so the form data is empty (was this proper English?). This really causes a major headache for me because there were some text fields that doesn't need to get translated and he big in the qtranslate not working in repeaters was very helpful. I would have wished to disable default texts being translated but now no input fields would translate because qTranslate Text doesn't work...
I'm writing here as I noticed the same problem, ACF qtranslate causes my repeater fields and relationship fields to flush all their contents when saved.
I initially reported this bug to qtranslate-x thinking the problem was on their end, (and also to ACF), but realized that disabling ACF qtranslate allows these fields to save properly again.
I've described it in detail on the qtranslate-x tracker and also on the ACF forum.
Confirmed Rolling back to 1.7.5 fixes the problem
from acf-qtranslate.
For me it actually didn't solve the problem to just change the type of the fields. No field inside the repeater field gets saved while this plugin is activated. Also the rollback to 1.7.5 didn't fix it.
I hope this gets fixed soon.
from acf-qtranslate.
Clearing the browser cache and cookies, all back to work perfectly, at least for me (confirmed here #22 (comment))
from acf-qtranslate.
Unfortunately I have to correct my comment, the problem is still present with version 1.7.6, so I had to go back to version 1.7.5. I'm not using the repeater but flexible content, however it seems the same.
from acf-qtranslate.
For those you have a problem with 1.7.5 on the repeater field with text, editor etc I notice that if I fill first the fields that are not being translated ie images etc , save/update the post and then go fill the other fields like text, editor etc that are being translated and then save again it accept it. It's weird.
from acf-qtranslate.
@cnasikas for repeater fields in 1.7.5, using qTranslate Text instead of default Text works without any new problems.
from acf-qtranslate.
Thanks for the update, didn't notice it.
from acf-qtranslate.
The latest release addresses these issues.
from acf-qtranslate.
Using
ACF 5.2.2
ACF qTranslate 1.7.6
qTranslate-X 3.3
Repeater doesn't work! Help me! Live project doesn't works 3 days!!!
from acf-qtranslate.
Also still experiencing issues.
ACF 5.2.5
acf-qtranslate 1.7.9
qtranslate-x 3.4.2
from acf-qtranslate.
I created a new Field Group with
- Repeater
-- Text
-- Text
First time I added it to a page, values would flush when I saved. Tried this a few times. For a different page, I created a new Field Group with
- Repeater
-- Flexible Content
---- Repeater
------ Text
------ Text
Interestingly, this second version including the Flexible Content worked. I should also note that existing Field Groups with the first structure updated properly. Very mysterious behavior.
from acf-qtranslate.
Related Issues (20)
- ACF Custom menu link not working for two language.
- ACFPRO 5.7.0 Compatibility Issues HOT 2
- ACF 5.7.x compatibility ? HOT 7
- ACF 5.7.X compability HOT 2
- File field in v1.7.24 only shows images HOT 7
- Please add "(qtranslate)" info to field label HOT 3
- Hiding alternative content not working with ACF custom fields HOT 1
- jQuery 1.12.4 default WP vs 3.x
- Image field switches from "Image URL" to "Image array" after v4 to v5 upgrade
- How to search acf qtranslate fields? HOT 2
- acf-text-field maxlength check failing
- WP v5.1.1 tinymce error
- Media Library dont show thumbnails HOT 4
- Media Library Not Loading in Grid View HOT 7
- ACF WYSIWG editor removes paragraphs HOT 9
- The plugin does not work with Wordpress 5.3 HOT 7
- WP Media Library broken ACF Version 5.8.7 HOT 3
- jQuery conflict when using qTranslate Wysiwyg field
- Swith language without reload page
- acf-qtraslate for wordpress 5.8.1 versions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-qtranslate.