diff -Nuar fuentes.orig/d-i/source/localechooser/localechooser fuentes/d-i/source/localechooser/localechooser --- fuentes.orig/d-i/source/localechooser/localechooser 2016-07-04 11:17:55.310014000 +0200 +++ fuentes/d-i/source/localechooser/localechooser 2016-07-04 11:21:17.206014000 +0200 @@ -428,6 +428,10 @@ fi done choices="$(echo "$choices" | sed 's/#%#/\\,/g')" + if [ "$lang" = "ca" ]; then + choices_c="ca_ES.UTF-8@valencia, ${choices_c}" + choices="Valencia\${!TAB}-\${!TAB}ca_ES.UTF-8@valencia, ${choices}" + fi db_subst $tpl_preferredlocale CHOICES-C "$choices_c" db_subst $tpl_preferredlocale CHOICES "$choices" } @@ -838,6 +842,12 @@ askedpreflocale= if [ -z "$locale_preseeded" ] && [ "$use_lang" ]; then + if [ "$LANGUAGE" = "ca_ES@valencia" ]; then + LOCALE="ca_ES.UTF-8@valencia" + db_set $tpl_di_locale $LOCALE + db_set $tpl_preferredlocale $LOCALE + fi + log "Llamando a buildpreferred con $LANGUAGE $LOCALE" build_preferredlocale_choices $LANGUAGE $LOCALE if has_choice $tpl_shortlist $COUNTRYCODE; then