-
Notifications
You must be signed in to change notification settings - Fork 110
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
Content area not translating with WP 5.6 #931
Comments
I have the same problem. |
Thanks Nalato, |
You mean the content area of a post/page in the admin section? I use WP5.6, no problem. If you downgraded to 5.5.3 and still see the same problem that's a good indication it doesn't come from the WP version. @nalato does it work after downgrading? To which version? If you have disabled all plugins and see no error in the console it's really hard to understand. What browser are you using? |
so i managed to get it working, i disabled all my plugins again only keeping qtranslate-xt, i am unsure why this seemed to resolve the issue but for now its ok using 5.5.3 |
Is this about the admin section or the frontend? Note for the frontend there is no Javascript involved. I use WP 5.6 on a production website and local installation, with other plugins, no problem at all. Could you send me the info you have in languages / troubleshooting? |
Hello, I confirm that @gab1982 says: Wordpress 5.6 with Twenty Twenty theme and Classic Editor plugin enabled, doesn't translate post content in the admin section. The frontend works fine. { @herrvigg , if you want, i give you a test website access. |
it was from the admin in the content area, i enabled only english and spanish for languages, the troubleshooting i did was disabled all plugins, installed 'Enable jQuery Migrate Helper' which didn't help, then later disabled it when you responded, the front-end is totally fine. Not sure how i can give you a report as the above comment did? |
@nalato thanks, your config looks pretty much standard, except @gab1982 you can find it in settings / languages (qTranslate-XT configuration) / troubleshooting, it would be interesting to compare. Are you using a theme like Twenty Twenty? |
OK, yes im using a theme like twenty twenty which i know is old but i did try and change to the latest default theme and there was no change. here is my output: { { { |
I tried with a Firefox and Theme Twenty Twenty, no problem... Ignore what i wrote about I can only spot an error with react-dom (i have some dev tools installed) but this doesn't affect the functionality of qTranslate. So i don't really see. @nalato the test website could help indeed. You can send the credentials to herrvigg (at) gmail.com. |
@herrvigg I sended you the credentials by Wordpress. |
@nalato thanks, i managed to reproduce it on your website but it was not straightforward:
Quite weird, but if i switch to Text mode, it works again. Also, the problem does not happen with Chrome... |
I manage to reproduce on my localhost as well. It happens only in Visual Mode + Firefox. As workaround you can try this but if you switch to Text mode or Chrome the problem should disappear. I can't explain it yet. |
Ok I try it. |
I'm starting to nail the problem down. The issue occurs when the It could be a bug with Firefox but it seems to be also related to WP 5.6. I found this ticket in WP: |
New issue created on WP / Classic Editor: https://wordpress.org/support/topic/edit-post-page-broken-after-update-to-wp-5-6-2/ It doesn't move much... |
It seems there are many other related issues that are in WP trac:
A fix is apparently on the way, but i don't know if this solves our issue yet. Seems quite related but not entirely sure. Let's hope so. |
It's possible this is going to be fixed in WP 5.6.1 https://core.trac.wordpress.org/ticket/52111#comment:15 If some people are able to validate that fix, it could surely help them to push this forward. |
Apparently the fix is postponed to WP 5.6.2 😕 |
I have exactly the same problem :( Anyways, thank you very much for keeping qtranslate alive! Edit: I am using Chrome, so i think its not an Firefox issue |
Is there anything I can do in regards to getting the editor to work as expected because one of my projects which uses your plugin is awaiting this issue to be fixed (what version of wordpress and qtranslate do i need to downgrade to in order to resolve this issue)? |
I don't think this is a problem in qTranslate, so there's no much we can do here. You can help the WP team by providing more information on their tickets and helping to validate the fixes. They have been asking for people. I believe this regression came with WP 5.6. So you can try to downgrade WP 5.5.x, maybe that solves the problem temporarily. |
Did someone else encounter the problem on a browser other than Firefox? The issue is still present in WP 5.6.2: From that thread, it seems the jQuery Migration Helper could be a temporary solution: https://wordpress.org/plugins/enable-jquery-migrate-helper/ Could someone else try this? |
I pushed a patch after discussions in #946. |
The patch on master should solve most of the problems. What is left seems to happen only in very specific situations. |
Released in 3.9.3. |
I really enjoy using this plugin, and have used it on many sites, however am having an issue with a fresh install of wordpress (5.6) and also qtranslate xt (3.9.1) and found the content area isn't translating, only the title, i have tried removing qtranslate and re-installing but no luck, all other plugins are de-activated but still no luck is anyone else having the same issue? I also installed 'Enable jQuery Migrate Helper' but that didn't help in anyway. There are also no errors or reports in the console.
The text was updated successfully, but these errors were encountered: