Hey ,
I need to read i18n values from my java code , I am able to do so via this piece of code
if (request != null) {
i18n = new I18n(request);
textLoadMore = i18n.getVar(LOAD_MORE);
}
but this works when it is called from sling models but from servlet my request do not contain locale and language info hence its fetching en for all the locales.
can you help me to find a way to do so , also i have locale info in my servlet.
Regards,
Mohit