Easy. Create your own stringtable.csv file and put it in you mission directory.
LANGUAGE,English,French,Italian,Spanish,German,Czech
STR_LANGUAGE_CHECK,1,2,3,4,5,6
Now you can check the selected language.
? localize "STR_LANGUAGE_CHECK" == "4" : hint "Spanish"