tailor
tailor copied to clipboard
Use properties file (resource bundle) for Messages, supporting I18N
https://docs.oracle.com/javase/tutorial/i18n/ https://www.jetbrains.com/idea/help/internationalization-and-localization-support.html
- [ ] Add
src/main/resources/messages.properties
and potentiallysrc/main/resources/messages_en_US.properties
containing the String constants fromMessages.java
- [ ] Use
Locale
andResourceBundle
inTailor.java
or helper class, to instantiate staticResourceBundle messages
and provide convenience functions wrappingmessages.getString()