Allow underscores in language codes

Language codes in config files may now contain underscores.
This is required to exclude Wikipedia dumps like bat_smg
from being processed.