correct available languages list generation, following the move to Core directory