The language courses are based on the level of knowledge of the students. For children who are not yet literate, there are special offers to enable them to attend a regular school. For children who are already literate, there are special preparatory classes at regular schools. The children take part in the regular classes in certain subjects. Please ask about the offers in your specific case.
For additional information see https://www.km.bayern.de/lehrer/meldung/3136/bildungsministerium-unterstuetzt-asylbewerber-und-fluechtlinge.html