eclipse-rbe icon indicating copy to clipboard operation
eclipse-rbe copied to clipboard

Feature: keep order of properties

Open rillig-nm opened this issue 10 years ago • 4 comments

Currently, when saving a resource bundle, the keys are written in alphabetical order. This is not always useful, like in the following example:

dialog.title = Dialog Title
dialog.usernameLabel = Username:
dialog.passwordLabel = Password:
dialog.okButton = OK
dialog.cancelButton = Cancel

In this example the texts are ordered in “read order”, like they appear to a typical reader who sees the dialog. When sorted alphabetically, this structure is lost, which makes it harder for the translator to understand the meaning of the messages.

Therefore, the Resource Bundle Editor should offer an option to keep the order of the messages keys, instead of sorting them alphabetically. This order should then also be used in the UI.

rillig-nm avatar Nov 07 '14 10:11 rillig-nm

+1

StepanOrt avatar Jan 02 '15 13:01 StepanOrt

+1

gayatriinaik avatar Jan 04 '15 07:01 gayatriinaik

+1

Although I don't mind seeing an alphabetical order in the UI itself. Alphabetical order might be preferred when, say two locale property files have stochastic key ordering.

archanthakkar avatar Jun 02 '15 22:06 archanthakkar

This enhancement request is a duplicate of https://github.com/essiembre/eclipse-rbe/issues/6

aaron13100 avatar Jan 30 '16 22:01 aaron13100