echo ""
echo " Language files newlist currently supports..."
echo ""
echo "   English"
echo "   German"
echo "   French"
echo "   Danish"
echo "   Dutch"
echo "   Italian"
echo "   Finnish"
echo "   Polish"
echo "   Spanish"
echo ""

if exists ENV:NEWLIST_LANG
      if exists c:nl
         echo " Flushing possible language file in memory...."
         echo ""
         c:nl -K >nil: <nil:
      else
         echo " To use the new language file, you may have to kill the"
         echo "    old buffer in memory with:   nl7intl -K"
         echo ""
      endif
endif
ask " Install English (y/n) ?"
if warn 
   copy NEWLIST_LANG.english ENV:NEWLIST_LANG
   copy NEWLIST_LANG.english Envarc:NEWLIST_LANG
   skip done
endif
ask " Install German (y/n) ?"
if warn 
   copy NEWLIST_LANG.german ENV:NEWLIST_LANG
   copy NEWLIST_LANG.german ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install French (y/n) ?"
if warn 
   copy NEWLIST_LANG.french ENV:NEWLIST_LANG
   copy NEWLIST_LANG.french ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install Danish (y/n) ?"
if warn 
   copy NEWLIST_LANG.danish ENV:NEWLIST_LANG
   copy NEWLIST_LANG.danish ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install Dutch (y/n) ?"
if warn
   copy NEWLIST_LANG.dutch ENV:NEWLIST_LANG
   copy NEWLIST_LANG.dutch ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install Italian (y/n) ?"
if warn
   copy NEWLIST_LANG.italian ENV:NEWLIST_LANG
   copy NEWLIST_LANG.italian ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install Finnish (y/n) ?"
if warn 
   copy NEWLIST_LANG.finnish ENV:NEWLIST_LANG
   copy NEWLIST_LANG.finnish ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install Spanish (y/n) ?"
if warn
   copy NEWLIST_LANG.spanish ENV:NEWLIST_LANG
   copy NEWLIST_LANG.spanish ENVARC:NEWLIST_LANG
   skip done
endif
ask " Install Polish (y/n) ?"
if warn 
   copy NEWLIST_LANG.polish ENV:NEWLIST_LANG
   copy NEWLIST_LANG.polish ENVARC:NEWLIST_LANG
else
   echo ""
   echo " No Language file copied."
   if exists ENV:NEWLIST_LANG
   else
      echo ""      
      echo " You need to install a language file to run newlist7intl !"
      echo ""
   endif
   skip xit
endif

lab done
echo ""
echo " Language file copied."
lab xit
echo ""

