Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: keep order of properties #24

Open
rillig-nm opened this issue Nov 7, 2014 · 4 comments
Open

Feature: keep order of properties #24

rillig-nm opened this issue Nov 7, 2014 · 4 comments

Comments

@rillig-nm
Copy link

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.

@StepanOrt
Copy link

+1

1 similar comment
@gayatriinaik
Copy link

+1

@archanthakkar
Copy link

+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.

@aaron13100
Copy link

This enhancement request is a duplicate of #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants