Skip to content

Dictionary item translations are sorted different when extracted #175

@bjarnef

Description

@bjarnef

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions