Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Refactor how properties files are read from server #9

Open
elmasse opened this issue Feb 12, 2013 · 0 comments
Open

Refactor how properties files are read from server #9

elmasse opened this issue Feb 12, 2013 · 0 comments
Assignees
Labels

Comments

@elmasse
Copy link
Owner

elmasse commented Feb 12, 2013

We should load the files in the following order:

Application.properties
Application_xx.properties //1
Application_xx-YY.properties //2

1 if lang is specified as 'xx' or 'xx-YY' (for instance: 'en', 'en-US');
2 if lang is specified as 'xx-YY'

Load order should be reversed as from today. Load the bottom-up from less to more specific and override the keys.

@ghost ghost assigned elmasse Feb 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant