I had been trying to use a ResourceBundle object, but I can’t figure it out where to place my rsc/language.properties
Plus I don’t want to specify Location like “_en, en_US, _es”, I just want to use it
I am doing this:
ResourceBundle.getBundle("rsc/language");
that throws:
java.util.MissingResourceException: Can’t find bundle for base name rsc/language, locale en_US
Actually I have it in:
src/main/java/rsc/language.properties
I thought that because of what exception says I would be forced to add:
src/main/java/rsc/language_en.properties
src/main/java/rsc/language_en_US.properties
…but DIDN’T work either!
WHERE this/these files should be placed?