Home›Support›English Support›[Resolved] XLIFF SERVER COMMUNICATION ERROR. XLIFF FILE LOADED IS NOT WELL FORMED
[Resolved] XLIFF SERVER COMMUNICATION ERROR. XLIFF FILE LOADED IS NOT WELL FORMED
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to build a French version of a page. The Portuguese version works, but the French version does not. Additionally, the French menu is missing an item that appears in other languages.
Solution: 1. We recommend disabling the cache for logged-in users in WP Rocket settings to see changes immediately. 2. The French page was found in the trash and set as a draft. We advised the client to manually restore it and publish it. 3. We suggested making a small change to the default page title and saving it. 4. The client should re-translate the French page and ensure it is 100% translated before saving. 5. To address the menu issue, we advised translating the page into all the correct languages by clicking the plus icon from Pages > All. 6. For translating the menu, the client can either do it manually and add items as desired or use the menu sync tool to have the same menu with translated items. We provided a link to the related documentation: Translating Menus documentation. 7. We provided a direct link to the French menu for convenience.
If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum.
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.
Tell us what you are trying to do?
I have converted my weglot translated website into wpml, and every page could be built but the one cefegen.es/prueba-de-paternidad into French. The Portugues version works well
Is there any documentation that you are following?
Is there a similar example that we can see?
The original in Spanish is hidden link and the one in Portuguese hidden link, the french version fails
1) In order to expedite handling your support requests, can you please share WPML support debug information from your site.
- To give debug information, login to your site and go to WPML → Support. From there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire content of the text box and copy it.
- Now go back to our support forum, find debug information box and paste it.
2) From our side I can see the translation is done but something causes it to not be delivered correctly.
Can you please disable any security / caching / optimizer plugins and make a small change to default language page title and save. Re-translate the page.
Can you please check if the issue happens when only WPML plugins and Elementor activated, all other plugins disabled? Change your theme to the Astra default theme.
Make a small change to the default language page title and save. Re-translate the page.
Hi, it doesn't work.May I give you the user and pwd so you can connect to my wordpress and have it a look. I am stuck and my french customers are complaining.
Thanks
Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.
Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.
I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.
I would need to access both your site's wp-admin and FTP account, if possible.
I have enabled the private username and password fields in your next reply.
I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.
You can safely add your information into these fields.
- Disable cache for logged-in users from WP Rocket settings so that you can see the changes right away
- your FR page is in the trash and set as a draft, manually restore it and make sure it is set as Published
- Make a small change to ES page title and save
- Re-translate the FR page and make sure it is 100% translated
- Save
Hi Drazen, thank you very much.
A couple of questions. The page /test-de-paternite is not showing in the french menu as in the rest of the languages. In the menu item test de paternite I should have 3 items, one of them should be test de paternité. See the in portuguese that is working well. In the French one I have jus 2 items.
Also the italian is not translated. How can I enforce it?
Thanks
1) I advise first to translate the page into all the correct languages. You can do so by clicking the plus icon from Pages > All, the same as you did for other languages.
2) For the menu, once the pages are translated you need to translate the menu also, you can do that manually and add items as you wish, or use the menu sync tool to sync and have the same menu with the translated menu items.
Let me know how it goes and if you need further help I will open a new ticket for us / or you can open a new chat/ticket for any further help with the menu and etc. We do this to keep conversations clear and track of tickets and issues.