Using environment with the Dato integration

Hi

It seems there is an issue with the dato integration when using environments.

I correctly see all my environments on the syncing page, they’re listed as a first level directory and I can retrieve data from dato to crowdin. But after translating the content of my 2nd environment, when I sync back from crowdin to dato, it sends the data to the primary environment instead of the 2nd.

Is there an option that I miss or is it not possible to use environment with this integration ?

Hi!

To begin with, I see that the Dato CMS application expired for your account, so I’ve re-activated it for an extra week. Feel free to conduct all the needed tests :slight_smile:

Do you see any errors during this process? Maybe you’re using the duplicates option (so when you translate similar files, both receive a translation, so both directories are translated)?

Can you kindly provide some extra content here, preferably with screenshots? You can direct message me or send it as an email to support@crowdin.com

I see only 1 project under your account and it doesn’t contain any files from Dato CMS, so it looks like you’ve deleted the integration :thinking:

Ah yes sorry about that, it was an old test account in which we tested the possibilities of crowdin (dato, react, flutter, github with automatic PR, etc. it looked promising ! :wink:), I didn’t saw that I was logged on this one on the community site.
So, this is the account in which I’m doing the dato sync.

I don’t see any error during the process.
I don’t see where I can change the duplicate string option, I remember this option when testing with actual files from a code repository but never saw it while configuration the dato integration.
But yes since the 2nd environment is based on a forked of the primary, content are similar and files (which are like .xml) have the same name. We’re using the “separate file for each record” option. I’m selecting the 2nd environment when syncing back but cannot “select” where it goes, I only assure it will copy to the same full path but it doesn’t for now.

I’ll send you more details by mail.
Thanks for taking a look at this.

EDIT:
I’ve found the duplicate string option in the project, it is set on “Show – translators will translate each instance separately”.

Hi Vincent!

I see that my colleague already replied to you via email, but it might be useful for others who potentially face similar issues, so I’ll double the reply here as well:

We believe the issue is related to the Settings option in the integration. If this checkbox is enabled it should be possible to successfully transfer the translation: