This thread is resolved. Here is a description of the problem and solution.
Problem: If you're encountering an issue while trying to upload XLIFF translation files and are facing an error, it's important to ensure that the files are in the correct format. Solution: First, verify that the files you are attempting to import are indeed in XLIFF format. RTF files, for example, cannot be imported into WPML. XLIFF files should be the same as the ones exported, but translated using CAT tools or similar software. It's also crucial to note that exported files are connected to create a translated job and can only be imported for the one from which they were exported. For more information on configuring XLIFF file options, please visit our documentation:
If this solution doesn't seem relevant to your situation, we encourage you to open a new support ticket for further assistance. You can do so by visiting the 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.
Hello,
I have a client who is encountering an issue while trying to upload xliff translation files to the website hidden link They are facing an error.
I would appreciate your assistance on this matter.
I have attached admin access details: hidden link
[credentials removed]
and the file that the client sent me.
hidden link
I would greatly appreciate your help.
My email address is amos@dooble.co.il.
Thank you.
please do not share credentials in your reply as this public forum and anybody can see it. I will enable private replies when needed.
1) Please share the image and explain what is the error that happens?
2) The files you shared are not in XLIFF format, but RTF which is not correct nor can be imported in WPML. Make sure you are importing XLIFF files, they should be the same as the one exported but translated via CAT tools or similar software. Note that exported files are connected to create a translated job, so can be imported only for the one from which exported.
hi
please see the attached debug we received after try toy export to Xliff format, its look like the plugin make the problem
please assist
[29-Oct-2023 11:16:44 UTC] PHP Fatal error: Uncaught Exception: Unable to send file 'מ.בר-translation-job-507-508.zip'. Output buffer contains the following text (typically warnings or errors):
in /home/mbarmain/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/wpml_zip.php:501
Stack trace:
#0 /home/mbarmain/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-frontend.php(393): wpml_zip->sendZip('\xD7\x9E.\xD7\x91\xD7\xA8-transla...')
#1 /home/mbarmain/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-frontend.php(196): WPML_TM_Xliff_Frontend->stream_xliff_archive(Object(wpml_zip))
#2 /home/mbarmain/public_html/wp-includes/class-wp-hook.php(310): WPML_TM_Xliff_Frontend->init('')
#3 /home/mbarmain/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#4 /home/mbarmain/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/mbarmain/public_html/wp-settings.php(632): do_action('init')
#6 /home/mbarmain/public in /home/mbarmain/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/wpml_zip.php on line 501
New threads created by Dražen and linked to this one are listed below: