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

Use properties file (resource bundle) for Messages, supporting I18N #97

Open
2 tasks
alykhank opened this issue Jul 6, 2015 · 0 comments
Open
2 tasks

Comments

@alykhank
Copy link
Member

alykhank commented Jul 6, 2015

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 potentially src/main/resources/messages_en_US.properties containing the String constants from Messages.java
  • Use Locale and ResourceBundle in Tailor.java or helper class, to instantiate static ResourceBundle messages and provide convenience functions wrapping messages.getString()
@alykhank alykhank changed the title Use properties file (resource bundle) for Messages, i18n Use properties file (resource bundle) for Messages, supporting I18N Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant