/** Initialize the bean */
 public void init() {
   try {
     Iso639_1Helper iso639_1Helper = new Iso639_1Helper();
     isolanguages = iso639_1Helper.getList();
     initLanguagesMenu();
     changeLanguage(session.getLocale().getLanguage());
   } catch (Exception e) {
     LOGGER.error("Error Intializing InternationalitationBean:", e);
   }
 }
 /**
  * Change the language of imeji
  *
  * @param languageString
  */
 private void changeLanguage(String languageString) {
   if (isSupported(languageString)) {
     currentLanguage = languageString;
   } else {
     currentLanguage = getRequestedLocale().getLanguage();
   }
   session.setLocale(new Locale(currentLanguage));
   CookieUtils.updateCookieValue(SessionBean.langCookieName, session.getLocale().getLanguage());
   internationalizeLanguages();
 }