I put some properties files (resources.propperties for instance) that I put in the
src/main/resources/com/ebiznext/agregation/service/payment/sips
directory and I tried to retrieve them in my code like this :
ResourceBundle resource = ResourceBundle.getBundle("com.ebiznext.aggregation.service.paiement.sips.resources", Locale.getDefault())
But I got the exception :
Caused by MissingResourceException: Can't find bundle for base name com.ebiznext.aggregation.service.paiement.sips.resources, locale fr_FR
->> 1499 | throwMissingResourceException in java.util.ResourceBundle
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1322 | getBundleImpl in ''
| 1028 | getBundle . . . in ''
So my question is what is the correct wat to retrieve a resource bundle in Grails?