Apple .xcstrings string catalog format discrepancy between Crowdin and Xcode

I’m using Apple .xcstrings string catalog multilingual files. The underlying format is JSON. It seems that Xcode adds spaces right after the keys whereas Crowdin does not, which can be a cause of noisy diffs in Git and potential merge conflicts.

Could Crowdin please be fixed so that it adds an extra whitespace after keys so that it conforms to what Xcode outputs? Thank you.

Hello @tyiu

We’re working on the solution at the moment. Will update you once an improvement is released.

1 Like

Task is released, should be working as you’re expecting. Please re-import the file in order changes to be applied.

doesn’t seem to be fixed here… experiencing issues using

generating huge diffs…

Hi @derspyy,

Unfortunately, I cannot see the file changed because the diff is too large. Just to clarify, if you download the translations from the UI, the spaces after keys will not be removed? Could you please check?

seems like downloading from the crowdin UI itself is working correctly, although using the github actions still provides the mistake:

also, this diff suggests that we have a different order, which is also weird…

Hi @derspyy,

Can you please share with us a link to the project where you are working?