I need to access the translations library from my Model -
Resource.classI manage to do it within a Model -
SlingHttpServletRequest.classTo instantiate i18n I need either the
slingHttpServletRequest, or the resourceBundle but, from within my
humble resource class, I am not being able to get any of them.I tried
with @Model(adaptables= {Resource.class,
SlingHttpServletRequest.class}), but when I try to inject the request
the my page does not render.Does any of you manages to access i18n from
a @mod...