public static void addLanguage(Language language){
  if (language == null)   return;
  ArrayList<Language> list=new ArrayList<Language>(Arrays.asList(s_languages));
  list.add(language);
  s_languages=new Language[list.size()];
  list.toArray(s_languages);
}

public static void addLanguage ( Language language ) { if ( language == null ) return ; ArrayList < Language > list = new ArrayList < Language > ( Arrays . asList ( s_languages ) ) ; list . add ( language ) ; s_languages = new Language [ list . size ( ) ] ; list . toArray ( s_languages ) ; }
add language to supported languages
