java - Name Conventions of resource file -


which of name conventions using in spring resource file?

good practice, if i'm not mistaken, use template: <view>.<type>.<name>, example order.lbl.title.

but:

  1. what doing if have global name, example yes, no? used many times in different view. right every time create translate each view?

  2. if have message validation field, example email, best way: create order.form.validation.email or create validation.msg.email , use once validation?


Comments