umbraco / Umbraco.Deploy.Issues

1 stars 0 forks source link

Dictionary item translations are sorted different when extracted #175

Closed bjarnef closed 1 year ago

bjarnef commented 1 year ago

On a Umbraco Cloud project I have some issues with changes in dictionary items as schema data when pushing/pulling between local and live environment.

E.g. when pulling latest changes from Umbraco Cloud everything is fine, but when I go to Deploy dashboard and click button at "Update Umbraco Schema From Data Files" I have changes to commit, because the order/sorting of translations in the dictionary item has changed.

Of left the original schema data, on right after extraction.

BCompare_ahfqHvT7Na

If I push these changes then later I have some changes from Umbraco Cloud to pull, probably because it sort/serialize the translation items different than on my local environment.

Could we e.g. sort the items alphabetically by LanguageIsoCode on serialization, so they are always the same? Or by language name, so the items are sorted just like in backoffice?

chrome_BU3ZuBlOfC

Umbraco Deploy 12.0.1 Umbraco 12.0.1


_This item has been added to our backlog AB#31977_

AndyButland commented 1 year ago

These will be serialized with ordered translations by ISO code from the next releases.