protected void createUserDictSettings(PreferenceGroup userDictGroup){
  final Activity activity=getActivity();
  userDictGroup.removeAll();
  final TreeSet<String> localeList=UserDictionaryList.getUserDictionaryLocalesSet(activity);
  if (localeList.isEmpty()) {
    userDictGroup.addPreference(createUserDictionaryPreference(null,activity));
  }
 else {
    for (    String locale : localeList) {
      userDictGroup.addPreference(createUserDictionaryPreference(locale,activity));
    }
  }
}

protected void createUserDictSettings ( PreferenceGroup userDictGroup ) { final Activity activity = getActivity ( ) ; userDictGroup . removeAll ( ) ; final TreeSet < String > localeList = UserDictionaryList . getUserDictionaryLocalesSet ( activity ) ; if ( localeList . isEmpty ( ) ) { userDictGroup . addPreference ( createUserDictionaryPreference ( null , activity ) ) ; } else { for ( String locale : localeList ) { userDictGroup . addPreference ( createUserDictionaryPreference ( locale , activity ) ) ; } } }
creates the entries that allow the user to go into the user dictionary for each locale .
