German accused of fighting for Islamic State to be sentenced