romaframework / core

Roma Core
www.romaframework.org
3 stars 1 forks source link

i18n priority criteria #19

Open luigidellaquila opened 12 years ago

luigidellaquila commented 12 years ago

i18n priority criteria should be reviewed as follows:

for a class (higher to lower priority):

for subclasses: these criteria should be applied for each class in the hierarchy.

es.

class Employee extends Person

priorities (higher to lower): Employee.fieldName.label (i18n) Employee.xml Employee.java (annotation) Person.fieldName.label (i18n) Person.xml Person.java (annotation) Object.fieldName.label (i18n) Object.xml