Hi @TaniaM,
I tried turning off the ‘Skip untranslated files’ option, only to see an error when trying to sync:
Fail to prepare translations
An unknown error occurred while generating the resulting file.
Please contact the support team for more details.
File: /Contentful/PREreview.org/master/Banner/19ku1fGWddXyrFone7Pu62.xml.
Language: Arabic, Modern Standard.
That immediately reminded me that we have the option enabled following email advice from support last week. With the option turned off, it fails to sync with Contentful and breaks our other translations. This was the relevant part of my email:
I see the following when running the CLI ‘crowdin download translations’ command:
Fetching project info
Building ZIP archive with the latest translations
Building translation (14%)
Failed to build translation. Please contact our support team for help
The build has failed
I don’t seem to be able to get any more details out of it.
I do, however, see the following when manually trying to sync Crowdin to Contentful:
Fail to prepare translations
An unknown error occurred while generating the resulting file.
Please contact the support team for more details.
File: /Contentful/PREreview.org/master/Banner/19ku1fGWddXyrFone7Pu62.xml.
Language: Arabic, Modern Standard.
And the relevant part of the reply (hopefully it’s ok to repost):
As far as I can see, this file is not translated for the Arabic language. At the same time, you have the export option enabled in the project settings: Skip untranslated strings
As the file is not translated, the system cannot export an empty file. Please try adding translations to that language or disable the option and sync translations back to Contentful again.
Then my reply:
I’ve enabled the ‘Skip untranslated files’ option, and it completes successfully now.
Thinking about this further, having the option enabled means we don’t have Contentful content translated until it’s complete (which we might be able to live with), but the rest of our website no longer receives partially translated files (which is a regression).
Is there any way of having the ‘Skip untranslated files’ option enabled for just Contentful content? Or, ideally, have the Contentful integration gracefully handle these empty files?
The support emails were on the 27th July if it’s easier to move back to email. Thanks.