-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACF] Language Switcher Buttons not showing on ACF options pages #1343
Comments
I was able to fix it using js code. functions.php
qtx-option-fix.js
I understand that this is only a temporary solution, but it works for me now. Because if I add the LSB via qtranslate-config.json, then when saving the repeater type field - I get a fatal error that refers to qtranxf_isMultilingual ( |
The initialization sequence became very tricky since jQuery3, see
QTX will not create the LSB if there are no display or content hooks defined when the
Are you in case 1 or 2? |
Personally, I have the second case. |
I'm also in case 2. I have several translatable fields. |
Then it's a bug, though I don't manage to reproduce it. But this can depend on the event sequence as mentioned above or coming from recent updates in ACF 6 Pro. What type of fields is it about? The repeater field is broken, see #882. |
The QTX built-in configuration for ACF is supposed to handle the option page without requiring any change from your side. What did you mean by adding the LSB to the json file? To help understand the bug - for both of you:
|
I'm AFK this week, can check it out next week. Thank you so much for looking into it, @herrvigg 🙏 |
It works with the current master! 🎉 |
Describe the bug
On ACF options pages, the language switching buttons do not appear
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The language switching buttons should show up as they do for normal post edit screens
Possibly related
#798
Debug info
Go to
<YOUR_SITE>/wp-admin/options-general.php?page=qtranslate-xt#troubleshooting
.Press
Collect information
button and copy/paste the output below.The text was updated successfully, but these errors were encountered: