AEM 5.6.1, injecting ResourceBundleProvider, expecting JcrResourceBundleProvider but getting PseudoTranslations implementation
We have upgraded from 5.5 SP3 to 5.6.1 and are having problems with getting i18n content using the org.apache.sling.i18n.ResourceBundleProvider interface. We inject a ResourceBundleProvider into a service and the implementation we are getting is com.adobe.granite.i18n.impl.bundle.PseudoTranslations. After having a quick look at this class after decompilation, it looks like some kind of a mock implementation? We would expect some real implementation like JcrResourceBundleProvider.
The i18n bundle we are running after upgrading is (containing the PseudoTranslations implementation)
| Symbolic Name | com.day.cq.cq-i18n |
| Version | 5.5.10 |