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.
Related documentation:
This topic contains 9 replies, has 2 voices.
Last updated by Sergio 1 year, 11 months ago.
Assigned support staff: Bruno.
Author | Posts |
---|---|
April 10, 2019 at 2:14 pm | |
Sergio |
I just translated a post from Polish to English. Can you please help? |
April 10, 2019 at 4:15 pm #3578393 | |
Bruno |
Thank you for contacting us. I could not see the problem you are reporting. When I open the post you are showing above, I see that the image is already included in the post. I'll attach an image for you to see. Should I take some other step to see the problem? Thank you. |
April 10, 2019 at 4:45 pm #3578869 | |
Sergio |
Hello, really strange. I also tried to log in on Firefox (I always use Chrome) with the temporary username I created for you, and also there I see the loading circle and not the thumbnail. I have no idea what else I can check... |
April 10, 2019 at 4:58 pm #3579025 | |
Bruno |
Hello, Have you tried to access your site using your browser's private window? Also, have you made any changes to any settings recently? If so, which one? Thank you. |
April 10, 2019 at 5:42 pm #3579721 | |
Sergio |
I logged-in with Incognito. See the picture attached.... |
April 10, 2019 at 5:53 pm #3579891 | |
Sergio |
To answer your question if I changed anything recently. No. When it comes to "settings" I changed only "settings" in this post editing mode. Before clicking "translate" I saw this new switch "Use WPML's Translation Editor". It was set to OFF. I saw it for the first time and I turned it on. So I ended up in translating with the Translator Editor. I went to 100% translation progress, and saved. Then I went into the English post editing mode and I saw this problem with the loading icon. After few tries, still the same. So I went into the settings and I saw that the options: were both unselected. And: Was selected "se WPML's Classic Translation Editor". So I selected on New Content -> Use WPML's Classic Translation Editor Now this option is selected in the settings. |
April 10, 2019 at 7:15 pm #3580709 | |
Bruno |
For me, it seems like the problem is happening because of the format of the URL you are using, "A different domain per language". Maybe by the time I accessed your site, this format was not set this way. I noticed that this is the error message that is happening: Access to fetch at 'hidden link' from origin 'hidden link' has been blocked by CORS policy: Request header field x-wp-nonce is not allowed by Access-Control-Allow-Headers in preflight response. Since I do not have FTP access, please inside the wp-config.php file, add this line after the "<?php". header('Access-Control-Allow-Origin: *'); After following these steps, please could you clear your browser's cache and try again? |
April 10, 2019 at 7:25 pm #3580821 | |
Sergio |
Hello, the problem seems to be resolved. header('Access-Control-Allow-Origin: *'); ? And do you have any idea why notepad++ is not marking the syntax in blue? |
April 10, 2019 at 7:38 pm #3580953 | |
Bruno |
Glad to hear that it now works. >>> Does every site with "different domain per language" has to have Yes. This is required so that the secondary domains can access the URL correctly. >>> And do you have any idea why notepad++ is not marking the syntax in blue? The "header" function may not have been highlighted by your code editor. Apparently, the code is right, though. If there is no error appearing on the site is because this function was inserted correctly. Please, let me know if I can help with any other questions you may have about it. I'll be happy to help. Thank you. |
April 10, 2019 at 8:09 pm #3581165 | |
Sergio |
My issue is resolved now. Thank you! |