in my app, for the conversation you can select a locale. that part works great but when the conversation ends, i want the locale to default back to english.
ive tried
@Destroy public void destroy() { // FacesContext.getCurrentInstance().getViewRoot().setLocale(locale.ENGLISH); LocaleSelector.instance().setLocale(locale.ENGLISH); LocaleSelector.instance().select(); logger.debug("destroyed!"); }
using both the localeselector and the facescontext and neither work. any ideas how to do this?