igorkulman / iOSLocalizationEditor

Simple macOS editor app to help you manage iOS and macOS app localizations by allowing you to edit all the translations side by side
MIT License
1.46k stars 116 forks source link

Order of key and comment is not respected #68

Closed flemingm closed 4 years ago

flemingm commented 5 years ago

Any changes (update or add key) to the input file, results in all key being sorted in the output file. . Results in comments originally at top of file being moved to new location if the 1st key is not alphabetically at the top of the list.

Maybe we can have option to have current behaviour or stable input -> update version. Do not know code well enough yet to know how hard this will be.

igorkulman commented 4 years ago

I thought about it when starting the project but it was more complicated than just sorting the data by key. My rationale was that yes the first commit after starting using the app be a bit confusing but then everything will be OK and actually better in your data.