Hi @Mohit3 ,
You may either pass language as request parameter to the servlet or if possible retrieve current page to get i18n object like below
Page currentPage = resourceResolver.getResource(currentPagePath).adaptTo(Page.class);//optional, you may directly pass lang valueResourceBundle bundle = r...